NestedControlStyle.DisabledStyle Property
In This Article
Gets the style settings that define a layout item’s appearance in the disabled state.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public DisabledStyle DisabledStyle { get; }
#Property Value
Type | Description |
---|---|
Disabled |
An object that provides style settings. |
#Remarks
Web Forms:
...
<Items>
<dx:LayoutItem ... >
<NestedControlStyle>
<DisabledStyle ForeColor="Black" />
</NestedControlStyle>
</dx:LayoutItem>
...
</Items>
...
MVC:
...
settings.Items.Add(i => {
...
i.NestedControlStyle.DisabledStyle.ForeColor = Color.Red;
});
...
See Also