New to Telerik UI for WinForms? Start a free 30-day trial

Groups indicator value collections by byte key. Clearing the cache empties the registered collections but retains their key mappings.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
public class ChartViewIndicatorCache

Inheritance: objectChartViewIndicatorCache

Constructors

C#
public ChartViewIndicatorCache()

Properties

Gets or sets the value collection registered for a cache key.

C#
public IndicatorCacheCollection this[byte key] { get; set; }
Parameters:keybyte

The byte key identifying the cache collection.

Property Value:

The collection associated with key.

Exceptions: KeyNotFoundException

No collection is registered for key when getting the value.

Methods

Adds the specified key.

C#
public void Add(byte key, IndicatorCacheCollection collection)
Parameters:keybyte

The key.

collectionIndicatorCacheCollection

The collection.

Clears the cache.

C#
public void Clear()