Skip to main content

MVCxButton Properties

The object of this type represents a configured instance of the corresponding extension and is intended to be used mainly as a sender parameter when processing events on the server side.
Name Description
AccessibilityCompliant Enables accessibility support. Inherited from ASPxButton.
AccessibilityLabelText Specifies the button’s label text for a screen reader. Inherited from ASPxButton.
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. Inherited from ASPxButton.
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. Inherited from ASPxButton.
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). Inherited from ASPxButton.
Checked Gets or sets a value indicating whether the button is in the checked state. Inherited from ASPxButton.
CheckedStyle Gets the style settings which define a button’s appearance in the checked state. Inherited from ASPxButton.
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. Inherited from ASPxButton.
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. Inherited from ASPxButton.
ClientSideEvents Gets an object that lists the client-side events specific to the ASPxButton. Inherited from ASPxButton.
ClientVisible Gets or sets a value that specifies the initial visibility state of a button on the client. Inherited from ASPxButton.
CommandArgument Gets or sets an optional parameter passed to the ASPxButton.Command event along with the associated ASPxButton.CommandName. Inherited from ASPxButton.
CommandName Gets or sets the command name associated with the ASPxButton control that is passed to the ASPxButton.Command event. Inherited from ASPxButton.
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. Inherited from ASPxButton.
Enabled Gets or sets a value that indicates whether a web control is enabled, allowing it to respond to 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 whether to encode editor value and content. 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. Inherited from ASPxButton.
FocusRectPaddings Gets the focused rectangle’s padding settings. Inherited from ASPxButton.
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. Inherited from ASPxButton.
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. Inherited from ASPxButton.
HoverStyle Gets the style settings which define a button’s appearance in the hover state. Inherited from ASPxButton.
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. Inherited from ASPxButton.
ImagePosition Gets or sets the image position within the button. Inherited from ASPxButton.
Images This member supports the internal infrastructure and is not intended to be used directly from your code.
ImageSpacing Gets or sets the amount of space between a display image and text. Inherited from ASPxButton.
ImageUrl Gets or sets the path to the image displayed within the button. Inherited from ASPxButton.
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 ASPxWebControl.
IsChildControlStateCleared protected Gets a value indicating whether controls contained within this control have control state. Inherited from Control.
IsTrackingViewState protected Gets a value that indicates whether the server control is saving changes to its view state. Inherited from Control.
IsViewStateEnabled protected Gets a value indicating whether view state is enabled for this control. Inherited from Control.
JSProperties Enables you to supply any server data that can then be parsed on the client. Inherited from ASPxButton.
Loaded Indicates whether a web control has been loaded into the Page object. Inherited from ASPxWebControlBase.
LoadViewStateByID protected Gets a value indicating whether the control participates in loading its view state by ID instead of index. Inherited from Control.
NamingContainer Gets a reference to the server control’s naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. Inherited from Control.
Native Gets or sets a value specifying whether the ASPxButton control is rendered as a native input type=button element or input type=submit element. Inherited from ASPxButton.
OnClientClick Obsolete. Gets or sets a value indicating whether a button is clicked on the client. Inherited from ASPxButton.
Paddings Gets the button’s padding settings. Inherited from ASPxButton.
Page Gets a reference to the Page instance that contains the server control. Inherited from Control.
Parent Gets a reference to the server control’s parent control in the page control hierarchy. Inherited from Control.
ParentImages This property is not in effect for the ASPxWebControl class. Inherited from ASPxWebControl.
ParentStyles This property is not in effect for the ASPxWebControl class. Inherited from ASPxWebControl.
PostBackUrl Gets or sets the URL of the page to post to from the current page when the button control is clicked. Inherited from ASPxButton.
PressedStyle Gets the style settings which define a button’s appearance in the pressed state. Inherited from ASPxButton.
RenderingCompatibility Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. Inherited from Control.
RenderMode Specifies whether the button is rendered as a button or as a link. Inherited from ASPxButton.
RightToLeft Specifies whether to apply right-to-left representation to the control. Inherited from ASPxButton.
ShadowImage static Obsolete. Gets the shadow image properties. Inherited from ASPxWebControl.
Site Gets information about the container that hosts the current control when rendered on a design surface. Inherited from Control.
SkinID Gets or sets the skin to apply to the control. Inherited from WebControl.
SpriteCssFilePath Gets or sets the path to a CSS file that defines the control’s sprite image settings. Inherited from ASPxButton.
SpriteImageUrl Gets or sets the path to a sprite image. Inherited from ASPxButton.
Style Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. Inherited from WebControl.
Styles Provides access to the style settings that control the appearance of the extension’s visual elements.Provides access to the style settings that control the appearance of the extension’s visual elements.
SupportsDisabledAttribute Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to “disabled” when the control’s IsEnabled property is false. Inherited from WebControl.
IControlBuilderAccessor.ControlBuilder For a description of this member, see ControlBuilder. Inherited from Control.
IControlDesignerAccessor.UserData For a description of this member, see UserData. Inherited from Control.
IDataBindingsAccessor.DataBindings For a description of this member, see DataBindings. Inherited from Control.
IDataBindingsAccessor.HasDataBindings For a description of this member, see HasDataBindings. Inherited from Control.
IExpressionsAccessor.Expressions For a description of this member, see Expressions. Inherited from Control.
IExpressionsAccessor.HasExpressions For a description of this member, see HasExpressions. Inherited from Control.
TabIndex Gets or sets the tab index of the Web server control. Inherited from WebControl.
TagKey protected Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. Inherited from WebControl.
TagName protected Gets the name of the control tag. This property is used primarily by control developers. Inherited from WebControl.
TemplateControl Gets or sets a reference to the template that contains this control. Inherited from Control.
TemplateSourceDirectory Gets the virtual directory of the Page or UserControl that contains the current server control. Inherited from Control.
Text Gets or sets the text displayed within the button control. Inherited from ASPxButton.
Theme Gets or sets the name of the Theme to be applied to the control. Inherited from ASPxWebControl.
ToolTip Gets or sets the text displayed when the mouse pointer hovers over the Web server control. Inherited from WebControl.
UniqueID Gets the unique, hierarchically qualified identifier for the server control. Inherited from Control.
UseSubmitBehavior Gets or sets a value indicating whether the button control uses the client browser’s submit mechanism or the ASP.NET postback mechanism. Inherited from ASPxButton.
ValidateInvisibleEditors Specifies whether invisible editors should be validated together with visible ones. Inherited from ASPxButton.
ValidateRequestMode Gets or sets a value that indicates whether the control checks client input from the browser for potentially dangerous values. Inherited from Control.
ValidationContainerID Gets or sets the ID of the naming container for whose controls the button causes a validation. Inherited from ASPxButton.
ValidationGroup Gets or sets the group of controls for which the button control causes validation. Inherited from ASPxButton.
VerticalAlign Gets or sets the vertical alignment of the button content. Inherited from ASPxButton.
ViewState protected Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. Inherited from Control.
ViewStateIgnoresCase protected Gets a value that indicates whether the StateBag object is case-insensitive. Inherited from Control.
ViewStateMode Gets or sets the view-state mode of this control. Inherited from Control.
Visible Gets or sets a value that indicates whether a server control is rendered as UI on the page. Inherited from Control.
Width Gets or sets the width of the web server control. Inherited from ASPxWebControl.
Wrap Gets or sets a value that specifies whether the button’s text can be wrapped. Inherited from ASPxButton.
See Also