ButtonBase

Wisej.Web.ButtonBase

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Implements the basic functionality common to button controls.

public class ButtonBase : Control, IImage, ICommandSource

Constructors

Initializes a new instance of the ButtonBase class.

Properties

Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False)

Newlines (CRLF) are converted to <BR/> when AllowHtml is false, or when AllowHtml is true and the text doesn't contain any HTML.

Boolean: Returns or sets whether the ellipsis character (...) appears at the right edge of the button, denoting that the text extends beyond the size of the button. (Default: False)

Boolean: Returns or sets whether the application blocks the browser with a modal mask when this button is clicked and until the server is done processing the execution request. (Default: False)

AutoShowLoader blocks the entire browser as soon as the button is clicked since it's implemented on the client side, while ShowLoader blocks the specific widget when returning from the request.

Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False)

CharacterCasing: Returns or sets the case of the text to display to the user. (Default: Normal)

ICommand: Returns or sets the ICommand implementation to invoke. (Default: null)

Image: Returns or sets the image that is displayed in a button control.

ContentAlignment: Returns or sets the alignment of the image in the button control. (Default: MiddleCenter)

Int32: Returns or sets the image list index value of the image in the ImageList displayed in the button control. (Default: -1)

Throws:

String: Returns or sets the key accessor for the image in the ImageList displayed in the button control. (Default: "")

ImageList: Returns or sets the ImageList that contains the Image displayed in a button control. (Default: null)

String: Returns or sets the theme name or URL for the image to display in the button control.

String: Returns or sets the text associated with this control. (Default: "")

Newlines (CRLF) are converted to <BR/> when AllowHtml is false, or when AllowHtml is true and the text doesn't contain any HTML.

ContentAlignment: Returns or sets the alignment of the text in the button control. (Default: MiddleCenter)

TextImageRelation: Returns or sets the position of text and image relative to each other. (Default: ImageBeforeText)

Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True)

Methods

Generates a Click event for a button.

Events

EventHandler Fired when the Command property value changes.

Inherited By

NameDescription

Represents a button control.

Represents a check box control.

Enables the user to select a single option from a group of choices when paired with other RadioButton controls.

Represents a split button control.

Implements

NameDescription

Bindable components implement this interface.

Defines an object that can invoke a Command.

Controls that support drag & drop operations implement this interface.

Provides access to common image properties across the controls that implement this interface.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated