ClassHeatMapDefinition
A base class for the definitions based on which a RadHeatMap is constructed.
Definition
Namespace:Telerik.WinControls.UI.HeatMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class HeatMapDefinition : Component, IComponent, IDisposable, IDataItemSource
Inheritance: objectMarshalByRefObjectComponentHeatMapDefinition
Derived Classes:
Implements:
Inherited Members
Constructors
HeatMapDefinition()
Initializes a new instance of the HeatMapDefinition class.
Declaration
protected HeatMapDefinition()
Properties
ColumnsCount
Gets the columns count.
DataSource
Gets or sets the data source.
Declaration
[Browsable(true)]
public object DataSource { get; set; }
Property Value
DataView
Gets the DataView collection.
Declaration
[Browsable(false)]
public RadCollectionView<HeatMapDataItem> DataView { get; }
Property Value
Items
Gets a collection of HeatMapDataItem objects which represent the items in RadHeatMap.
Declaration
[Browsable(false)]
public HeatMapDataItemCollection Items { get; protected set; }
Property Value
ListSource
Gets the source of the items.
Declaration
[Browsable(false)]
public RadListSource<HeatMapDataItem> ListSource { get; }
Property Value
RowsCount
Gets the rows count.
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
CreateDataItem()
Declaration
protected abstract HeatMapDataItem CreateDataItem()
Returns
CreateListSource()
Creates the list source.
Declaration
protected virtual RadListSource<HeatMapDataItem> CreateListSource()
Returns
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
Overrides
GetColor(int, int)
Gets the color of the cell.
GetColumnHeader(int)
Gets the header of the corresponding column.
GetDataItem(CellIndex)
Declaration
public HeatMapDataItem GetDataItem(CellIndex cellIndex)
Parameters
cellIndex
Returns
GetDataItem(int, int)
Declaration
public HeatMapDataItem GetDataItem(int rowIndex, int columnIndex)
Parameters
rowIndex
columnIndex
Returns
GetForeColor(Color)
Gets the foreground color based on the darkness of the background.
GetRowHeader(int)
Gets the header of the corresponding row.
InitializeHeatMap()
Declaration
public void InitializeHeatMap()
ItemsPropertyChanged()
Declaration
protected void ItemsPropertyChanged()
OnDataItemCreating(HeatMapItemCreatingEventArgs)
Fires the ItemCreating event.
Declaration
protected virtual void OnDataItemCreating(HeatMapItemCreatingEventArgs args)
Parameters
args
The event arguments.
OnItemDataBound(HeatMapItemEventArgs)
Fires the ItemDataBound event.
Declaration
protected virtual void OnItemDataBound(HeatMapItemEventArgs args)
Parameters
args
The event arguments.
OnItemsChanged()
This method is called when the Items changes.
Declaration
protected abstract void OnItemsChanged()
Events
ItemCreating
Occurs when a HeatMapDataItem needs to be created.
Declaration
public event HeatMapItemCreatingEventHandler ItemCreating
Event Value
ItemDataBound
Occurs when a data-bound item is being attached to a HeatMapDataItem.
Declaration
public event HeatMapItemEventHandler ItemDataBound
Event Value