Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Appearance Customization

Button
RenderMode = "Button"
Text = "Button"
Delete
RenderMode = "Danger"
Text = "Delete"
Outline
RenderMode = "Outline"
Text = "Outline"
Secondary
RenderMode = "Secondary"
Text = "Secondary"
Link
RenderMode = "Link"
Text = "Link"
New Item
RenderMode = "Link"
Text = "New Item"
Image.IconID = "actions_additem_16x16gray"
ImagePosition = "Right"
RenderMode = "Link"
Image.SpriteProperties.CssClass = "blueBall"
Image.SpriteProperties.HottrackedCssClass = "blueBallHottracked"
Image.SpriteProperties.PressedCssClass = "blueBallPressed"
Native = "True"
Text = "Native"

The ASPxButton control provides the RenderMode property, which specifies appearance of the button: Button, Danger, Outline, Secondary and Link. Additionally, the ASPxButton control can be rendered as a native input element if the Native property is set to true.

The ASPxButton content can consist of text and an image. The button text can be specified by the Text property. A button image is determined by the Image property, and is displayed next to the text at the position specified by the ImagePosition property.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxEditorsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxEditorsDemos