Skip to main content
Bar

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

BarManager.MostRecentItemsPercent Property

Gets or sets the value (as a percentage) that determines which of the menu items that haven’t recently been used should be hidden

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public int MostRecentItemsPercent { get; set; }

#Property Value

Type Description
Int32

The value, as a percentage, for calculating the most frequently used items.

#Remarks

If the MostRecentItemsPercent property’s value is -1, the actual setting is specified by the BarManagerProperties.MostRecentItemsPercent property. The BarManagerProperties.MostRecentItemsPercent setting is available in a BarAndDockingController: the default (DefaultBarAndDockingController) or a custom one (BarManager.Controller).

Any value except for -1 assigned to the MostRecentItemsPercent property overrides the BarManagerProperties.MostRecentItemsPercent setting.

See Also