Skip to main content
Bar

BarSubItemLink.IsOpened Property

Gets whether the sub-menu is open. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool IsOpened { get; protected set; }

Property Value

Type Description
Boolean

true, if the sub-menu is open; otherwise, false.

Remarks

To show and close the popup in code, use the BarItemLinkControl.ShowPopup and BarItemLinkControl.ClosePopup methods, respectively.

The following code shows how to invoke the popup for a link’s first LinkControl (specified by the BarItemLinkBase.LinkControl property):

myLink.LinkControl.ShowPopup();
See Also