[]
        
(Showing Draft Content)

FarPoint.Win.ElementWindowless.OnPaintBackground

OnPaintBackground Method

OnPaintBackground(Graphics, Rectangle)

Paints the background of the element.

Declaration
public virtual void OnPaintBackground(Graphics g, Rectangle rectInput)
Public Overridable Sub OnPaintBackground(g As Graphics, rectInput As Rectangle)
Parameters
Type Name Description
Graphics g

Graphics device

Rectangle rectInput

Coordinates of the element

OnPaintBackground(Graphics, Rectangle, ElementStyle)

Paints the background of the element using an overriding style.

Declaration
public virtual void OnPaintBackground(Graphics g, Rectangle rectInput, ElementStyle overrideStyle)
Public Overridable Sub OnPaintBackground(g As Graphics, rectInput As Rectangle, overrideStyle As ElementStyle)
Parameters
Type Name Description
Graphics g

Graphics device

Rectangle rectInput

Coordinates of the element

ElementStyle overrideStyle

Style to use when overriding