Skip to main content
A newer version of this page is available. .
Bar

BarSplitButtonItem.ItemClickBehaviour Property

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

Namespace: DevExpress.Xpf.Bars

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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 BarSplitButtonItem behavior when an end-user clicks an item within this BarSplitButtonItem‘s pop-up.

Remarks

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

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