Method PaintToggleButton
- Namespace
- Alternet.Editor.Dialogs.VsControls.Painting
- Assembly
- Alternet.Editor.v9.dll
PaintToggleButton(ControlState, VsToggleButtonAppearanceMode, Image, string, Graphics, Rectangle)
Paints toggle button with specified parameters.
public void PaintToggleButton(ControlState controlState, VsToggleButtonAppearanceMode appearanceMode, Image image, string text, Graphics g, Rectangle bounds)
Parameters
controlState
ControlStateThe state of the button.
appearanceMode
VsToggleButtonAppearanceModeThe appearance mode 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.