ApplicationMenu.IsMenuEmpty Property

Gets whether the ApplicationMenu contains visible items.

Namespace: DevExpress.Xpf.Ribbon

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

Declaration

public virtual bool IsMenuEmpty { get; }
Public Overridable ReadOnly Property IsMenuEmpty As Boolean

Property Value

Type Description
Boolean

true if the application menu contains visible items; otherwise, false.

Remarks

The IsMenuEmpty property returns true if the ApplicationMenu contains visible items. All items are stored in the inherited PopupMenu.ItemLinks collection.

If there are no visible items, the menu cannot be displayed.

See Also