Skip to main content
Bar

BarButtonItem.CloseSubMenuOnClick Property

Gets or sets a value indicating whether a submenu which contains the button item's link is closed on a click. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public bool? CloseSubMenuOnClick { get; set; }

#Property Value

Type Description
Nullable<Boolean>

true, if a submenu containing the button item's link is closed on a click; otherwise, false.

#Remarks

This feature is useful when the submenu is a list of check items (for instance, when it contains BarCheckItem' links). Each time such a link is checked or unchecked, an ItemClick event occurs. If the CloseSubMenuOnClick property is set to false, the links can be checked/unchecked without closing the submenu.

See Also