Tab

NestedControlStyle Class

Defines style settings for the layout item's nested editors.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public class NestedControlStyle :
    AppearanceStyleBase

Remarks

The NestedControlStyle class contains settings that define the appearance of a layout item's nested editors.

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