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.v21.1.dll

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