Back to Devexpress

BarSubItem.ItemClickBehaviour Property

wpf-devexpress-dot-xpf-dot-bars-dot-barsubitem-dca6c99c.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public PopupItemClickBehaviour ItemClickBehaviour { get; set; }
vb
Public Property ItemClickBehaviour As PopupItemClickBehaviour

Property Value

TypeDescription
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

BarSubItem Class

BarSubItem Members

DevExpress.Xpf.Bars Namespace