Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarBaseButtonItem.CloseSubMenuOnClick Property

Gets or sets whether a submenu which contains the button item’s link is closed when the link is clicked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(true)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool CloseSubMenuOnClick { get; set; }

#Property Value

Type Default Description
Boolean true

true if a submenu containing the button item’s link is closed when the link is clicked; otherwise, false.

#Remarks

This property is obsolete. Use the BarBaseButtonItem.CloseSubMenuOnClickMode property instead.

See Also