Back to Devexpress

MenuSettingsBase.SelectParentItem Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-menusettingsbase-394f513f.md

latest1.4 KB
Original Source

MenuSettingsBase.SelectParentItem Property

Gets or sets whether a root menu item is displayed as selected when selecting any of its subitems.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public bool SelectParentItem { get; set; }
vb
Public Property SelectParentItem As Boolean

Property Value

TypeDescription
Boolean

true to visually highlight a root menu item that contains a selected subitem; otherwise, false.

|

Remarks

Use the SelectParentItem property to control whether the root menu item, one of whose subitems is selected, should be displayed using a selected style.

See Also

Menu

MenuSettingsBase Class

MenuSettingsBase Members

DevExpress.Web.Mvc Namespace