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

BarItemLink.ClickCount Property

Gets or sets the number of times the current BarItemLink has been clicked.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[XtraSerializableProperty]
public int ClickCount { get; set; }

#Property Value

Type Description
Int32

The number of times the current BarItemLink has been clicked.

#Remarks

The number of times a specific item link has been clicked is required to determine the position of a link in the list of the most recently used links. The larger the number of clicks, the higher the position of the current link among the most recently used links.

Additionally, when a user resizes a Bar so that it no longer has enough space to show all of the item links, items with lower click counts are hidden into drop-down menus before items with higher click counts.

See Also