Skip to main content
Tab

NestedControlStyle.DisabledStyle Property

Gets the style settings that define a layout item’s appearance in the disabled state.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public DisabledStyle DisabledStyle { get; }

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