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


public int MostRecentItemsPercent { get; set; }
Public Property MostRecentItemsPercent As Integer

Property Value

Type Description

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


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