Tab
A newer version of this page is available. Switch to the current version.

NestedControlStyle Class

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public class NestedControlStyle :
    AppearanceStyleBase
Public Class NestedControlStyle
    Inherits AppearanceStyleBase

Remarks

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

WebForms:

...
<Items>
   <dx:LayoutItem ... >                   
      <NestedControlStyle>
         <DisabledStyle ForeColor="Black" />
      </NestedControlStyle>
   </dx:LayoutItem>
   ...
</Items>
...

MVC:

...
settings.Items.Add(i => {
   ...
   i.NestedControlStyle.DisabledStyle.ForeColor = Color.Red;
});
...