[]
        
(Showing Draft Content)

FarPoint.Win.ElementWindowless.OnPaint

OnPaint Method

OnPaint(Graphics, Rectangle)

Paints the element (text and picture).

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

Graphics device

Rectangle rectInput

Coordinates of the element

OnPaint(Graphics, Rectangle, ElementStyle)

Paints the element (both text and picture) using an overriding style.

Declaration
public virtual void OnPaint(Graphics g, Rectangle rectInput, ElementStyle overrideStyle)
Public Overridable Sub OnPaint(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