NestedControlStyle.DisabledStyle Property
Gets the style settings that define a layout item’s appearance in the disabled state.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
DisabledStyle | 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