Class BaseResourceCollection<T>
Represents a generic collection of resources.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BaseResourceCollection<T> : List<T>, IKeyIndexValueProvider where T : class
Type Parameters
T
Must be class. |
Constructors
BaseResourceCollection()
Initializes a new instance of the BaseResourceCollection class.
Declaration
protected BaseResourceCollection()
Properties
Repeat
Gets or sets a value indicating whether this BaseResourceCollection<T> should use resource in cyclic fashion.
Declaration
public bool Repeat { get; set; }
Property Value
System.Boolean
|
Methods
EvaluateIndex(Int32)
Evaluates the actual index of the resource to be obtained.
Declaration
protected int EvaluateIndex(int index)
Parameters
System.Int32
index
The index. |
Returns
System.Int32
|
GetValue(Int32, Object)
Gets resource based on index
and key
.
Declaration
public abstract object GetValue(int index, object key)
Parameters
System.Int32
index
The index. |
System.Object
key
The key. |
Returns
System.Object
|