Class VsToggleButton
- Namespace
- Alternet.Editor.Dialogs.VsControls
- Assembly
- Alternet.Editor.v9.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.
- PressedImageName
Gets or sets a name of the image displayed on the button in the pressed state.
Methods
- GetPreferredSize(Size)
Retrieves the size of a rectangular area into which a control can be fitted.
- OnInvalidated(InvalidateEventArgs)
Raises the Invalidated event.
- OnPaint(PaintEventArgs)
Raises the OnPaint(PaintEventArgs) event.