Method PaintToggleButton
- Namespace
- Alternet.Editor.Dialogs.VsControls.Painting
- Assembly
- Alternet.Editor.v10.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
controlStateControlStateThe state of the button.
appearanceModeVsToggleButtonAppearanceModeThe appearance mode of the button.
imageImageThe image associated with the button.
textstringThe text associated with the button.
gGraphicsThe Graphics object to draw on.
boundsRectangleThe drawing area.
PaintToggleButton(ControlState, VsToggleButtonAppearanceMode, Image, string, Graphics, RectD)
public void PaintToggleButton(ControlState controlState, VsToggleButtonAppearanceMode appearanceMode, Image image, string text, Graphics g, RectD bounds)
Parameters
controlStateControlStateappearanceModeVsToggleButtonAppearanceModeimageImagetextstringgGraphicsboundsRectD