Skip to main content
Bar

BarManager.CacheItemLinkSize Property

Gets or sets whether or not this BarManager should cache the sizes of its item links.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public static DefaultBoolean CacheItemLinkSize { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumerator value that specifies whether or not this BarManager should cache the sizes of its item links.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

By default, a BarManager caches the sizes of all currently displayed bar item links. This allows the bar manager to avoid excessive link size recalculation and thus, significantly improves the overall performance. Disabling this setting is not recommended.

See Also