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

A definition based on which a RadHeatMap is constructed.

Definition

Namespace:Telerik.Windows.Controls.HeatMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public sealed class CategoricalDefinition : HeatMapDefinition

Inheritance: objectInheritanceContextPropagatorHeatMapDefinitionCategoricalDefinition

Inherited Members HeatMapDefinition.ItemsSourcePropertyHeatMapDefinition.SelectedItemsPropertyHeatMapDefinition.ItemsSourceHeatMapDefinition.SelectedItems

Constructors

Initializes a new instance of the CategoricalDefinition class.

C#
public CategoricalDefinition()

Fields

ColorizerProperty

DependencyProperty

Identifies the Colorizer dependency property.

C#
public static readonly DependencyProperty ColorizerProperty

Identifies the ColumnGroupMemberPath dependency property.

C#
public static readonly DependencyProperty ColumnGroupMemberPathProperty

RowGroupMemberPathProperty

DependencyProperty

Identifies the RowGroupMemberPath dependency property.

C#
public static readonly DependencyProperty RowGroupMemberPathProperty

ValuePathProperty

DependencyProperty

Identifies the ValuePath dependency property.

C#
public static readonly DependencyProperty ValuePathProperty

Properties

Gets or sets the Colorizer which should generate a color according to the value of a cell.

C#
public HeatMapColorizer Colorizer { get; set; }

Gets or sets the name of the property which determines the column-category of a cell.

C#
public string ColumnGroupMemberPath { get; set; }

Gets or sets the name of the property which determines the row-category of a cell.

C#
public string RowGroupMemberPath { get; set; }

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

C#
protected override IHeatMapSource Source { get; }

Overrides: HeatMapDefinition.Source

Gets or sets the name of the property which determines the value of a cell.

C#
public string ValuePath { get; set; }

Methods

Gets the color of the cell.

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

The row index.

columnIndexint

The column index.

Returns:

int

The color of the cell.

Overrides: HeatMapDefinition.GetColor(int, int)

Gets the header of the corresponding column.

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

The column index.

Returns:

object

The header of the corresponding column.

Overrides: HeatMapDefinition.GetColumnHeader(int)

Gets the header of the corresponding row.

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

The row index.

Returns:

object

The header of the corresponding row.

Overrides: HeatMapDefinition.GetRowHeader(int)

This method is called when the ItemsSource has changed.

C#
protected override void OnItemsSourceChanged()

Overrides: HeatMapDefinition.OnItemsSourceChanged()