Skip to main content
Bar

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.1.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