windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-a2bee0f6.md
Gets or sets whether all empty items within this RibbonControl should be automatically hidden.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AutoHideEmptyItems { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property AutoHideEmptyItems As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if all empty items within this RibbonControl should be automatically hidden; otherwise, false.
|
If the AutoHideEmptyItems property equals true , the RibbonControl will automatically hide all empty items, which are:
Note that this property does not affect the Visible property of an empty item. For example, if a Ribbon Page is empty and the AutoHideEmptyItems property is set to true , this page will be hidden even if its RibbonPage.Visible property equals true.
See Also