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

Stores cached numeric values by integer key, typically an indicator data-point index.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
public class IndicatorCacheCollection

Inheritance: objectIndicatorCacheCollection

Constructors

C#
public IndicatorCacheCollection()

Properties

Gets the number of cached values.

C#
public int Count { get; }
Property Value:

The number of entries in the cache.

Gets or sets the cached value for the specified key.

C#
public double this[int key] { get; set; }
Parameters:keyint

The integer key, typically a data-point index.

Property Value:

The cached numeric value.

Methods

Adds a cached value only when the key is not already present; existing values are left unchanged.

C#
public void Add(int key, double value)
Parameters:keyint

The integer key, typically a data-point index.

valuedouble

The value to cache.

Removes all cached values.

C#
public void Clear()

Determines whether a value is cached for the specified key.

C#
public bool Contains(object key)
Parameters:keyobject

The key to locate.

Returns:

bool

true if the key is present; otherwise, false.