windowsforms-devexpress-dot-xtrabars-dot-barmanager-43008fd3.md
Gets or sets whether or not this BarManager should cache the sizes of its item links.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public static DefaultBoolean CacheItemLinkSize { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Shared Property CacheItemLinkSize As DefaultBoolean
| 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
|
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