LayoutItem.NestedControlStyle Property
In This Article
Specifies a style for the layout item’s nested editor.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual NestedControlStyle NestedControlStyle { get; }
#Property Value
Type | Description |
---|---|
Nested |
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