Skip to main content
Tab

ASPxButton Properties

A button control.
Name Description
AccessibilityCompliant Enables accessibility support.
AccessibilityLabelText Specifies the button’s label text for a screen reader.
AccessKey Gets or sets the access key that allows you to quickly navigate to the Web server control. Inherited from WebControl.
Adapter protected Gets the browser-specific adapter for the control. Inherited from Control.
AllowFocus Gets or sets a value specifying whether the button can receive focus.
AppRelativeTemplateSourceDirectory Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. Inherited from Control.
Attributes Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. Inherited from WebControl.
AutoPostBack Gets or sets a value that specifies whether server-side processing is required to respond to a click on the button control.
BackColor Gets or sets the background color of the Web server control. Inherited from WebControl.
BackgroundImage Gets the web control’s background image. Inherited from ASPxWebControl.
BackwardCompatibility static Provides access to the control’s backward compatibility settings. Inherited from ASPxWebControl.
Border Gets the web control’s border settings. Inherited from ASPxWebControl.
BorderBottom Gets the settings of the web control’s bottom border. Inherited from ASPxWebControl.
BorderLeft Gets the settings of the web control’s left border. Inherited from ASPxWebControl.
BorderRight Gets the settings of the web control’s right border. Inherited from ASPxWebControl.
BorderTop Gets the settings of the web control’s top border. Inherited from ASPxWebControl.
CausesValidation Gets or sets a value indicating whether the button click initiates validation (client and server).
Checked Gets or sets a value indicating whether the button is in the checked state.
CheckedStyle Gets the style settings which define a button’s appearance in the checked state.
ChildControlsCreated protected Gets a value that indicates whether the server control’s child controls have been created. Inherited from Control.
ClientEnabled Gets or sets a value that indicates whether the button is enabled on the client.
ClientID Gets the control’s identifier generated by ASP.NET. Inherited from ASPxWebControlBase.
ClientIDMode Gets or sets the algorithm that is used to generate the value of the ClientID property. Inherited from Control.
ClientIDSeparator protected Gets a character value representing the separator character used in the ClientID property. Inherited from Control.
ClientInstanceName Specifies the ASPxButton‘s client programmatic identifier.
ClientSideEvents Gets an object that lists the client-side events specific to the ASPxButton.
ClientVisible Gets or sets a value that specifies the initial visibility state of a button on the client.
CommandArgument Gets or sets an optional parameter passed to the ASPxButton.Command event along with the associated ASPxButton.CommandName.
CommandName Gets or sets the command name associated with the ASPxButton control that is passed to the ASPxButton.Command event.
Context protected Gets the HttpContext object associated with the server control for the current Web request. Inherited from Control.
Controls Gets the web control’s collection of child controls. Inherited from ASPxWebControlBase.
ControlStyle Gets the style of the Web server control. This property is used primarily by control developers. Inherited from WebControl.
ControlStyleCreated Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. Inherited from WebControl.
CssClass Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. Inherited from WebControl.
CssFilePath Gets or sets the path to a CSS file that defines the web control’s appearance. Inherited from ASPxWebControl.
CssPostfix Gets or sets a CSS class name postfix that identifies style settings to be applied to the control. Inherited from ASPxWebControl.
Cursor Gets or sets the type of cursor to display when the mouse pointer is over the web control. Inherited from ASPxWebControl.
DataItemContainer Gets a reference to the naming container if the naming container implements IDataItemContainer. Inherited from Control.
DataKeysContainer Gets a reference to the naming container if the naming container implements IDataKeysControl. Inherited from Control.
DisabledCssClass static Gets or sets the CSS class to apply to the rendered HTML element when the control is disabled. Inherited from WebControl.
DisabledStyle Gets the style settings which define a control’s appearance in the disabled state. Inherited from ASPxWebControl.
EmptyImage static Obsolete. Gets the settings of an image which is displayed by the control if the control’s value is null. Inherited from ASPxWebControl.
EnableClientSideAPI Gets or sets a value that specifies whether the button can be manipulated on the client side via code.
Enabled Gets or sets a value that indicates whether a web control is enabled, allowing it to respond to end-user interactions. Inherited from ASPxWebControl.
EnableDefaultAppearance Obsolete. Specifies whether to enable the control’s default appearance. Inherited from ASPxWebControl.
EnableTheming Gets or sets a value indicating whether themes apply to this control. Inherited from WebControl.
EnableViewState Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. Inherited from Control.
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 ASPxWebControl.
Events protected Gets a list of event handler delegates for the control. This property is read-only. Inherited from Control.
FocusRectBorder Gets the focused rectangle’s border settings.
FocusRectPaddings Gets the focused rectangle’s padding settings.
Font Gets the font properties associated with the Web server control. Inherited from WebControl.
ForeColor Gets or sets the foreground color (typically the color of the text) of the Web server control. Inherited from WebControl.
GlobalAccessibilityCompliant static Gets or sets whether accessibility support is globally enabled for all DevExpress web controls across the web page or the entire web site. Inherited from ASPxWebControl.
GlobalCheckReferencesToExternalScripts static Gets or sets whether links to external client scripts (such as jQuery, Knockout, and others), which are used by some DevExpress web components, are checked for presence and correctness. Inherited from ASPxWebControl.
GlobalEmbedRequiredClientLibraries static Obsolete. Gets or sets whether external client libraries (including scripts and CSS files) are automatically embedded in the DevExpress.Web assembly as resources. Inherited from ASPxWebControl.
GlobalRightToLeft static Gets or sets that the right-to-left orientation shall be globally applied to all DevExpress web controls across the web page or the entire web site. Inherited from ASPxWebControl.
GlobalStyleSheetTheme static Gets or sets the name of the style sheet theme to be globally applied to all DevExpress web controls across the entire web site. Inherited from ASPxWebControl.
GlobalTheme static Gets or sets the name of the Theme to be globally applied to all DevExpress web controls across the entire web site. Inherited from ASPxWebControl.
GlobalThemeBaseColor static Gets or sets the base color for the theme to be globally applied to all DevExpress web controls across a web page or entire web site. Inherited from ASPxWebControl.
GlobalThemeFont static Gets or sets the font settings of the theme to be globally applied to all DevExpress web controls across a web page or entire web site. Inherited from ASPxWebControl.
GroupName Gets or sets the name of the group to which the button belongs.
HasAttributes Gets a value indicating whether the control has attributes set. Inherited from WebControl.
HasChildViewState protected Gets a value indicating whether the current server control’s child controls have any saved view-state settings. Inherited from Control.
Height Gets or sets the height of the web server control. Inherited from ASPxWebControl.
HorizontalAlign Gets or sets the horizontal alignment of the button content.
HoverStyle Gets the style settings which define a button’s appearance in the hover state.
ID Gets or sets the programmatic identifier assigned to the server control. Inherited from Control.
IdSeparator protected Gets the character used to separate control identifiers. Inherited from Control.
Image Gets the settings of an image displayed within the button control.
ImagePosition Gets or sets the image position within the button.
ImageSpacing Gets or sets the amount of space between a display image and text.
ImageUrl Gets or sets the path to the image displayed within the button.
Initialized Gets a value indicating whether the web control has been initialized. Inherited from ASPxWebControlBase.
IsCallback Gets a value indicating whether the request is the result of a callback sent by the control. Inherited from