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

A definition based on which a RadHeatMap is constructed.

Definition

Constructors

Initializes a new instance of the CategoricalDefinition class.

C#
public CategoricalDefinition()

Properties

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

C#
[Browsable(false)]
public HeatMapColorizer Colorizer { get; set; }

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

C#
public string ColumnGroupMember { get; set; }

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

C#
public string RowGroupMember { 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 ValueMember { get; set; }

Methods

C#
protected override HeatMapDataItem CreateDataItem()
Returns:

HeatMapDataItem

Overrides: HeatMapDefinition.CreateDataItem()

Gets the color of the cell.

C#
public 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#
public 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#
public 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 OnItemsChanged()

Overrides: HeatMapDefinition.OnItemsChanged()