Skip to main content
Tab

LayoutItem.NestedControlStyle Property

Specifies a style for the layout item’s nested editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public virtual NestedControlStyle NestedControlStyle { get; }

Property Value

Type Description
NestedControlStyle

An object that provides style settings.

Remarks

Use the NestedControlStyle property to style the layout item’s nested editor.

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