Bar

BarSubItemLink.IsOpened Property

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

Namespace: DevExpress.Xpf.Bars

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

Declaration

public bool IsOpened { get; protected set; }
Public Property IsOpened As Boolean

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