Skip to main content
Tab

SiteMapColumn.CssClass Property

Gets or sets the name of the cascading style sheet (CSS) class that specifies the column’s display style.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string CssClass { get; set; }

Property Value

Type Default Description
String String.Empty

A String value specifying the cascading style sheet class’s name.

Remarks

In order to define the column’s appearance using cascading style sheets, set the CssClass property to the name of the required CSS class which contains column style settings.

Note that some style settings (such as paddings, for instance) are rendered as inline styles of specific individual elements within the control on the page, and so cannot be overridden by using style sheets.

See Also