Back to Devexpress

ButtonStyle.DisabledStyle Property

aspnet-devexpress-dot-web-dot-buttonstyle.md

latest1.6 KB
Original Source

ButtonStyle.DisabledStyle Property

Contains the style settings which define a button’s appearance in the disabled state.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public virtual AppearanceSelectedStyle DisabledStyle { get; }
vb
Public Overridable ReadOnly Property DisabledStyle As AppearanceSelectedStyle

Property Value

TypeDescription
AppearanceSelectedStyle

An AppearanceSelectedStyle object that contains style settings.

|

Remarks

The following example illustrates how to specify style settings for the ‘More’ button in the ASPxScheduler’s Day view.

aspx
<dx:ASPxScheduler ID="ASPxScheduler1" >
    <Views>
        <DayView>
            <DayViewStyles>
                <BottomMoreButton>
                    <DisabledStyle BackColor="Yellow" />
                </BottomMoreButton>
            </DayViewStyles>
        </DayView>
    </Views>
    <!--... -->
</dx:ASPxScheduler>

See Also

ButtonStyle Class

ButtonStyle Members

DevExpress.Web Namespace