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

RibbonControl.AutoHideEmptyItems Property

Gets or sets whether all empty items within this RibbonControl should be automatically hidden.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AutoHideEmptyItems { get; set; }

#Property Value

Type Default Description
Boolean false

true if all empty items within this RibbonControl should be automatically hidden; otherwise, false.

#Remarks

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