Class HeatMapDefinition
A base class for the definitions based on which a Rad
Inheritance
Namespace: Telerik.WinControls.UI.HeatMap
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class HeatMapDefinition : Component, IDataItemSource
Constructors
HeatMapDefinition()
Initializes a new instance of the Heat
Declaration
protected HeatMapDefinition()
Properties
ColumnsCount
Gets the columns count.
Declaration
public int ColumnsCount { get; }
Property Value
System.
|
DataSource
Gets or sets the data source.
Declaration
public object DataSource { get; set; }
Property Value
System.
|
DataView
Gets the DataView collection.
Declaration
public RadCollectionView<HeatMapDataItem> DataView { get; }
Property Value
Items
Gets a collection of Heat
Declaration
public HeatMapDataItemCollection Items { get; protected set; }
Property Value
ListSource
Gets the source of the items.
Declaration
public RadListSource<HeatMapDataItem> ListSource { get; }
Property Value
RowsCount
Gets the rows count.
Declaration
public int RowsCount { get; }
Property Value
System.
|
Source
Gets the collection source used internally by the heat map definition.
Declaration
protected abstract IHeatMapSource Source { get; }
Property Value
Methods
CreateBindingContext()
Creates the binding context.
Declaration
protected virtual BindingContext CreateBindingContext()
Returns
System.
|
CreateDataItem()
CreateListSource()
Creates the list source.
Declaration
protected virtual RadListSource<HeatMapDataItem> CreateListSource()
Returns
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
GetColor(Int32, Int32)
Gets the color of the cell.
Declaration
public abstract int GetColor(int rowIndex, int columnIndex)
Parameters
System. The row index. |
System. The column index. |
Returns
System. The color of the cell. |
GetColor(CellIndex)
Declaration
public int GetColor(CellIndex cellIndex)
Parameters
Cell
|
Returns
System.
|
GetColumnHeader(Int32)
Gets the header of the corresponding column.
Declaration
public abstract object GetColumnHeader(int index)
Parameters
System. The column index. |
Returns
System. The header of the corresponding column. |
GetDataItem(Int32, Int32)
Declaration
public HeatMapDataItem GetDataItem(int rowIndex, int columnIndex)
Parameters
System.
|
System.
|
Returns
GetDataItem(CellIndex)
Declaration
public HeatMapDataItem GetDataItem(CellIndex cellIndex)
Parameters
Cell
|
Returns
GetForeColor(Color)
Gets the foreground color based on the darkness of the background.
Declaration
public virtual Color GetForeColor(Color backColor)
Parameters
System. The background color. |
Returns
System. If the background is dark returns System. |
GetRowHeader(Int32)
Gets the header of the corresponding row.
Declaration
public abstract object GetRowHeader(int index)
Parameters
System. The row index. |
Returns
System. The header of the corresponding row. |
GetValue(Int32, Int32)
Declaration
public double GetValue(int rowIndex, int columnIndex)
Parameters
System.
|
System.
|
Returns
System.
|
GetValue(CellIndex)
Declaration
public double GetValue(CellIndex cellIndex)
Parameters
Cell
|
Returns
System.
|
InitializeHeatMap()
Declaration
public void InitializeHeatMap()
ItemsPropertyChanged()
Declaration
protected void ItemsPropertyChanged()
NewItem()
OnDataItemCreating(HeatMapItemCreatingEventArgs)
Fires the Item
Declaration
protected virtual void OnDataItemCreating(HeatMapItemCreatingEventArgs args)
Parameters
Heat The event arguments. |
OnItemDataBound(HeatMapItemEventArgs)
Fires the Item
Declaration
protected virtual void OnItemDataBound(HeatMapItemEventArgs args)
Parameters
Heat The event arguments. |
OnItemsChanged()
This method is called when the Items changes.
Declaration
protected abstract void OnItemsChanged()
Events
ItemCreating
Occurs when a Heat
Declaration
public event HeatMapItemCreatingEventHandler ItemCreating
Event Type
ItemDataBound
Occurs when a data-bound item is being attached to a Heat
Declaration
public event HeatMapItemEventHandler ItemDataBound
Event Type
Explicit Interface Implementations
IDataItemSource.BindingComplete()
IDataItemSource.BindingContext
Declaration
BindingContext IDataItemSource.BindingContext { get; }
Returns
System.
|
Implements
IDataItemSource.BindingContextChanged
Declaration
event EventHandler IDataItemSource.BindingContextChanged
Returns
System.
|
Implements
IDataItemSource.Initialize()
Initializes IDataItemSource.
Declaration
void IDataItemSource.Initialize()
Implements
IDataItemSource.MetadataChanged(PropertyDescriptor)
Declaration
void IDataItemSource.MetadataChanged(PropertyDescriptor pd)
Parameters
System.
|