Method PaintButton
- Namespace
- Alternet.Editor.Dialogs.VsControls.Painting
- Assembly
- Alternet.Editor.v9.dll
PaintButton(ControlState, Image, string, Graphics, Rectangle)
Paints button with specified parameters.
public void PaintButton(ControlState controlState, Image image, string text, Graphics g, Rectangle bounds)
Parameters
controlState
ControlStateThe state of the button.
image
ImageThe image associated with the button.
text
stringThe text associated with the button.
g
GraphicsThe Graphics object to draw on.
bounds
RectangleThe drawing area.