Skip to main content

BootstrapMenuItem.TextCssClass Property

Gets or sets the name of a CSS class applied to the item’s text.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A string specifying the name of a CSS class.

Remarks

The TextCssClass property specifies the name of a CSS class applied to a SPAN element wrapping the item’s text. You can use this property to apply additional bootstrap classes (e.g., text-muted, text-danger, etc.) to item text.

See Also