Class
HeatMapDefinition

A base class for the definitions based on which a RadHeatMap is constructed.

Definition

Namespace:Telerik.Windows.Controls.HeatMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public abstract class HeatMapDefinition : InheritanceContextPropagator

Inheritance: objectInheritanceContextPropagatorHeatMapDefinition

Derived Classes: CategoricalDefinitionMemberDefinitionBase

Inherited Members InheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

HeatMapDefinition()

Initializes a new instance of the HeatMapDefinition class.

Declaration

cs-api-definition
protected HeatMapDefinition()

Fields

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

SelectedItemsProperty

Identifies the SelectedItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedItemsProperty

Field Value

DependencyProperty

Properties

ItemsSource

Gets or sets the items source.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

SelectedItems

Gets or sets the selected items.

Declaration

cs-api-definition
public IList SelectedItems { get; set; }

Property Value

IList

Source

Gets the collection source used internally by the heat map definition.

Declaration

cs-api-definition
protected abstract IHeatMapSource Source { get; }

Property Value

IHeatMapSource

Methods

GetColor(int, int)

Gets the color of the cell.

Declaration

cs-api-definition
protected abstract int GetColor(int rowIndex, int columnIndex)

Parameters

rowIndex

int

The row index.

columnIndex

int

The column index.

Returns

int

The color of the cell.

GetColumnHeader(int)

Gets the header of the corresponding column.

Declaration

cs-api-definition
protected abstract object GetColumnHeader(int index)

Parameters

index

int

The column index.

Returns

object

The header of the corresponding column.

GetRowHeader(int)

Gets the header of the corresponding row.

Declaration

cs-api-definition
protected abstract object GetRowHeader(int index)

Parameters

index

int

The row index.

Returns

object

The header of the corresponding row.

OnItemsSourceChanged()

This method is called when the ItemsSource changes.

Declaration

cs-api-definition
protected abstract void OnItemsSourceChanged()