[]
        
(Showing Draft Content)

FarPoint.Win.ElementControl.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 control with 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

Rectangle boundary of the area

ElementStyle overrideStyle

ElementStyle to use to override style

OnPaintBackground(PaintEventArgs)

Occurs when the background of the control is painted.

Declaration
protected override void OnPaintBackground(PaintEventArgs e)
Protected Overrides Sub OnPaintBackground(e As PaintEventArgs)
Parameters
Type Name Description
PaintEventArgs e

PaintEventArgs object that contains event data

Overrides