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

Declaration

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

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