Back to Devexpress

MenuSettingsBase.AutoSeparators Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-menusettingsbase-133692b3.md

latest2.3 KB
Original Source

MenuSettingsBase.AutoSeparators Property

Gets or sets a value that specifies the manner in which a specific separator is displayed to separate menu items from each other.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public AutoSeparatorMode AutoSeparators { get; set; }
vb
Public Property AutoSeparators As AutoSeparatorMode

Property Value

TypeDescription
AutoSeparatorMode

An AutoSeparatorMode enumeration value.

|

Available values:

NameDescription
All

Specifies that separators are automatically displayed at all menu levels to separate menu items from each other.

| | RootOnly |

Specifies that separators are automatically displayed only at the root menu level to separate the root menu items from each other.

| | None |

Specifies that separators are not displayed automatically. In order to display a separator before a particular menu item, the item’s MenuItem.BeginGroup property should be used.

|

Remarks

Note

The AutoSeparators property value might be explicitly defined in some themes, so specifying it has no effect.

See Also

BeginGroup

Menu

MenuSettingsBase Class

MenuSettingsBase Members

DevExpress.Web.Mvc Namespace