Skip to main content
Tab

LayoutItemStyle.NestedControl Property

Specifies a style for all layout item’s nested editors.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public NestedControlStyle NestedControl { get; }

Property Value

Type Description
NestedControlStyle

An object that provides style settings.

Remarks

Use the NestedControl property to style all the layout item’s nested editors.

Web Forms:

<dx:ASPxFormLayout runat="server" ... >
   <Styles>
      <LayoutItem>
         <NestedControl>
            <DisabledStyle ForeColor="Black" />
         </NestedControl>
      </LayoutItem>
  </Styles>
  ...
</dx:ASPxFormLayout>

MVC:

@Html.DevExpress().FormLayout(settings => {
   ...
   settings.Styles.LayoutItem.NestedControl.DisabledStyle.ForeColor = Color.Red;
   ...   
}).GetHtml()
See Also