Table of Contents

Class VsButton

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

Represents a button in Visual Studio-like style.

public class VsButton : Button, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, IVsControlResourceConsumer
Inheritance
VsButton
Implements

Constructors

VsButton()

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

Properties

ImageName

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

MouseIsDown
Painter

Methods

GetImage(string)
GetPreferredSize(Size)

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

OnMouseCaptureChanged(EventArgs)

Raises the MouseCaptureChanged event.

OnPaint(PaintEventArgs)

Raises the OnPaint(PaintEventArgs) event.