Table of Contents

Class VsToggleButton

Namespace
Alternet.Editor.Dialogs.VsControls
Assembly
Alternet.Editor.v10.dll

Represents a Visual-Studio like toggle button.

public class VsToggleButton : CheckBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IVsControlResourceConsumer
Inheritance
VsToggleButton
Implements
Derived

Constructors

VsToggleButton()

Initializes a new instance of the VsToggleButton class with default settings.

Properties

AppearanceMode

Gets or sets button appearance.

ImageName

Gets or sets a name of the image displayed on the button.

MouseIsDown
Painter
PressedImageName

Gets or sets a name of the image displayed on the button in the pressed state.

Methods

GetImage(string)
GetPreferredSize(SizeD)

Retrieves the size of a rectangular area into which a control can be fitted, in device-independent units.

GetPreferredSize(Size)

Retrieves the size of a rectangular area into which a control can be fitted.

GetState()
OnInvalidated(InvalidateEventArgs)

Called when the Invalidated event is raised.

OnInvalidated(InvalidateEventArgs)

Raises the Invalidated event.

OnPaint(PaintEventArgs)

Called when the control is redrawn. See Paint for details.

OnPaint(PaintEventArgs)

Raises the OnPaint(PaintEventArgs) event.