Table of Contents

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 ControlState

The state of the button.

appearanceMode VsToggleButtonAppearanceMode

The appearance mode of the button.

image Image

The image associated with the button.

text string

The text associated with the button.

g Graphics

The Graphics object to draw on.

bounds Rectangle

The drawing area.