LayoutItemStyle.NestedControl Property
Specifies a style for all layout item’s nested editors.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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