ButtonSettings Properties

Contains the Button extension settings.

Name Description
AccessKey

Gets or sets the access key that allows you to quickly navigate to the ASP.NET MVC extension.

(Inherited from SettingsBase)
AccessibilityCompliant

Enables accessibility support.

AllowFocus

Gets or sets a value specifying whether the button can receive focus.

Attributes

Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.

(Inherited from SettingsBase)
CausesValidation

Gets or sets a value indicating whether validation (client and server) is performed when the button is clicked.

Checked

Gets or sets a value indicating whether the button is in the checked state.

ClientEnabled

Gets or sets a value that indicates whether the button is enabled on the client.

ClientSideEvents

Gets an object that lists the client-side events specific to the Button.

ClientVisible

Gets or sets a value that specifies the initial visibility state of a Button on the client.

ControlStyle

Provides access to the style settings declared at the root level of the extension's wrapped web server control.

(Inherited from SettingsBase)
CustomJSProperties

Enables you to supply any server data that can then be parsed on the client.

EnableClientSideAPI

Gets or sets a value that specifies whether the extension to which this ButtonSettings object is passed can be manipulated on the client side via code.

EnableTheming

Gets or sets a value indicating whether themes apply to this extension.

(Inherited from SettingsBase)
Enabled

Gets or sets a value that indicates whether the MVC Extension is enabled, allowing it to respond to end-user interactions.

(Inherited from SettingsBase)
EncodeHtml

Gets or sets a value that specifies whether the web control's value and element content are rendered as pure HTML, or HTML markers are stripped out.

(Inherited from SettingsBase)
GroupName

Gets or sets the name of the group to which the button belongs.

Height

Gets or sets the height of the extension.

(Inherited from SettingsBase)
ImagePosition

Gets or sets the image position within the button.

Images

Provides access to the settings that define images for various elements within the Button.

Init

Enables you to perform custom actions when an extension is initialized.

(Inherited from SettingsBase)
Name

Gets or sets the unique identifier name for the extension.

(Inherited from SettingsBase)
PreRender

Allows custom processing to be implemented before the extension is rendered to the page.

(Inherited from SettingsBase)
RenderMode

Gets or sets a value that specifies whether a Button is rendered as a button or as a link.

RightToLeft

Gets or sets a value specifying whether or not an extension to which these settings are passed supports right-to-left representation.

RouteValues

Defines the routing logic by specifying the names of a Controller and an Action which should handle clicks on a Button.

SkinID

Gets or sets the skin to apply to the control.

(Inherited from SettingsBase)
Style

Gets a collection of all cascading style sheet (CSS) properties applied to an extension.

(Inherited from SettingsBase)
Styles

Provides access to the style settings that control the appearance of the extension's visual elements.

TabIndex

Gets or sets the tab index of the control element of the web page.

(Inherited from SettingsBase)
Text

Gets or sets the text displayed within the button.

Theme

Gets or sets the name of the theme to be applied to the extension.

(Inherited from SettingsBase)
ToolTip

Gets or sets a UI element's tooltip text.

(Inherited from SettingsBase)
UseSubmitBehavior

Gets or sets a value indicating whether the button uses the client browser's submit mechanism or the ASP.NET postback mechanism.

ValidateInvisibleEditors

Gets or sets a value that specifies whether invisible editors should be validated together with visible ones.

ValidationContainerID

Gets or sets the ID of the naming container for those editors for which the button causes a validation.

ValidationGroup

Gets or sets the group of inputs that are validated when the button is clicked.

Width

Gets or sets the width of the extension.

(Inherited from SettingsBase)
See Also