Button

Wisej.Web.Button

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Represents a button control.

public class Button : ButtonBase, IButtonControl

Constructors

Initializes a new instance of the Button class.

Properties

AutoSizeMode: Returns or sets the mode by which the Button automatically resizes itself.

BorderStyle: Returns or sets the border style of the button control.

DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked.

Display: Returns or sets the Display mode of the control to determine whether to display the icon, the text or both.

Nullable<Int32>: Returns or sets the distance in pixels between the image and the label inside the button.

MenuItemCollection: Returns the collection of MenuItem objects associated with the button.

Boolean: Enables or disables the auto-repeat feature. When enabled, the button keeps firing click events at an increasing rate while the user keeps the button pressed.

Shortcut: Returns or sets a value indicating the shortcut key associated with the button.

Methods

Generates a Click event for a button.

Events

MenuButtonItemClickedEventHandler Fired when the user clicks one of the drop down menu items.

Inherited By

Implements

Last updated