Skip to main content
Bar

BarSubItemLink.ItemClickBehaviour Property

Gets or sets the BarSubItemLink behavior when an end-user clicks an item within this BarSubItemLink‘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 BarSubItemLink behavior when an end-user clicks an item within this BarSubItemLink‘s pop-up.

Remarks

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

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