Back to Devexpress

BarItemLink.MostRecentlyUsed Property

windowsforms-devexpress-dot-xtrabars-dot-baritemlink-78bf7f0f.md

latest2.2 KB
Original Source

BarItemLink.MostRecentlyUsed Property

Determines whether the current item link is initially visible when inside a submenu.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
[XtraSerializableProperty]
public virtual bool MostRecentlyUsed { get; set; }
vb
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Overridable Property MostRecentlyUsed As Boolean

Property Value

TypeDescription
Boolean

true if the current item link is initially visible; otherwise, false.

|

Remarks

When an end-user opens a submenu, item links with disabled MostRecentlyUsed properties are not visible. To view all submenu items, a user needs to do one of the following:

If a user frequently clicks an initially hidden link, it can eventually become visible from the moment a submenu opens. The number of clicks required for this is determined by the BarManagerProperties.MostRecentItemsPercent property value.

See the Recently Used Items article to learn more.

See Also

Recently Used Items

BarItemLink Class

BarItemLink Members

DevExpress.XtraBars Namespace