Back to Devexpress

BarManager.CacheItemLinkSize Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-43008fd3.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public static DefaultBoolean CacheItemLinkSize { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Shared Property CacheItemLinkSize As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

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

|

Available values:

NameDescriptionReturn 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

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace