Skip to main content
Bar

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

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