Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public bool? HideWhenEmpty { get; set; }

#Property Value

Type Description
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