Skip to main content

ASPxWebControl.EnableDefaultAppearance Property


Use the corresponding style settings to override control elements' appearance.

Specifies whether to enable the control’s default appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


[Obsolete("Use the corresponding style settings to override control elements' appearance.", true)]
public virtual bool EnableDefaultAppearance { get; set; }

Property Value

Type Default
Boolean true


The EnableDefaultAppearance property became obsolete in v13.2. Use the following approaches to update control settings:

Update Control Settings

To disable all default styles, set a control’s CssPostfix property to a non-existent CSS postfix.

<Styles CssPostfix="None" />

Update ASPxButton Settings

Set the RenderMode property to Link to display a clickable image or link instead of the default ASPxButton.

<dx:ASPxButton ID="btn" runat="server" RenderMode="Link">
    <Image Url="Images/Red.png" />

You can try different button render modes in the following demo: Button - Appearance Customization.

Note that UseSubmitBehavior and Checked properties are not effect when the RenderMode is set to Link. To enable these properties, use CssClass to disable the default button appearance.

.NoStyle {
    background: none;
    border: 0;
    color: black;
    padding: 0;
    height: auto;
<dx:ASPxButton ID="btn" runat="server" EnableTheming="false" CssClass="NoStyle">
    <Image Url="~/Images/Red.png" />
See Also