New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class HeatMapDefinition : InheritanceContextPropagator

Inheritance: objectInheritanceContextPropagatorHeatMapDefinition

Derived Classes: CategoricalDefinitionMemberDefinitionBase

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

Constructors

Initializes a new instance of the HeatMapDefinition class.

C#
protected HeatMapDefinition()

Fields

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

SelectedItemsProperty

DependencyProperty

Identifies the SelectedItems dependency property.

C#
public static readonly DependencyProperty SelectedItemsProperty

Properties

Gets or sets the items source.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the selected items.

C#
public IList SelectedItems { get; set; }

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

C#
protected abstract IHeatMapSource Source { get; }

Methods

Gets the color of the cell.

C#
protected abstract int GetColor(int rowIndex, int columnIndex)
Parameters:rowIndexint

The row index.

columnIndexint

The column index.

Returns:

int

The color of the cell.

Gets the header of the corresponding column.

C#
protected abstract object GetColumnHeader(int index)
Parameters:indexint

The column index.

Returns:

object

The header of the corresponding column.

Gets the header of the corresponding row.

C#
protected abstract object GetRowHeader(int index)
Parameters:indexint

The row index.

Returns:

object

The header of the corresponding row.

This method is called when the ItemsSource changes.

C#
protected abstract void OnItemsSourceChanged()