[]
Paints the element (text and picture).
public virtual void OnPaint(Graphics g, Rectangle rectInput)
Public Overridable Sub OnPaint(g As Graphics, rectInput As Rectangle)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device |
Rectangle | rectInput | Coordinates of the element |
Paints the element (both text and picture) using an overriding style.
public virtual void OnPaint(Graphics g, Rectangle rectInput, ElementStyle overrideStyle)
Public Overridable Sub OnPaint(g As Graphics, rectInput As Rectangle, overrideStyle As ElementStyle)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device |
Rectangle | rectInput | Coordinates of the element |
ElementStyle | overrideStyle | Style to use when overriding |