Skip to main content
Bar

BarSubItem.ItemClickBehaviour Property

Gets or sets the BarSubItem behavior when an end-user clicks an item within this BarSubItem‘s pop-up.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public PopupItemClickBehaviour ItemClickBehaviour { get; set; }

Property Value

Type Description
DevExpress.Xpf.Bars.PopupItemClickBehaviour

A DevExpress.Xpf.Bars.PopupItemClickBehaviour enumerator value that specifies the BarSubItem behavior when an end-user clicks an item within this BarSubItem‘s pop-up.

Remarks

The BarSubItem object provides the following behavior types, depending on the corresponding DevExpress.Xpf.Bars.PopupItemClickBehaviour enumerator values:

  • ClosePopup - closes the current BarSubItem‘s pop-up and all its child pop-ups (if any);
  • CloseAllPopups - closes both the BarSubItem‘s pop-up and all its parent pop-ups. Used when an end-user navigated through one or multiple parent pop-ups to reach this BarSubItem;
  • CloseCurrentBranch - closes a pop-up within this BarSubItem‘s pop-up that contains a clicked item. Used when this BarSubItem‘s pop-up contains one or multiple child pop-ups;
  • Undefined - close behavior is specified by the pop-up, not by its parent BarSubItem;
  • None - the BarSubItem‘s pop-up remains opened after an end-user clicks an item within this pop-up.
See Also