Back to Devexpress

RibbonPageGroup.HideWhenEmpty Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagegroup-ccd3d93a.md

latest2.0 KB
Original Source

RibbonPageGroup.HideWhenEmpty Property

Gets or sets whether the current page is automatically hidden if it does not contain any items. This is a dependency property.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public bool? HideWhenEmpty { get; set; }
vb
Public Property HideWhenEmpty As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

The Nullable<T><Boolean,> value that specifies whether the current page is automatically hidden if it does not contain any items. The default is null.

|

Remarks

The HideWhenEmpty property specifies if the current page is automatically hidden when empty. If this property equals null (the default value), the setting is controlled by the RibbonControl.HideEmptyGroups property which affects all groups in the ribbon. The HideWhenEmpty property allows you to override the global setting for the current group.

See Also

HideEmptyGroups

ActualHideWhenEmpty

RibbonPageGroup Class

RibbonPageGroup Members

DevExpress.Xpf.Ribbon Namespace