[]
Paints the background of the element.
public virtual void OnPaintBackground(Graphics g, Rectangle rectInput)
Public Overridable Sub OnPaintBackground(g As Graphics, rectInput As Rectangle)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device |
Rectangle | rectInput | Coordinates of the element |
Paints the background of the element using an overriding style.
public virtual void OnPaintBackground(Graphics g, Rectangle rectInput, ElementStyle overrideStyle)
Public Overridable Sub OnPaintBackground(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 |