New to Telerik UI for WinForms? Start a free 30-day trial

This class represents a mapping between a member of the item in the HeatMapDefinition's ItemsSource and the row, or column, of the RadHeatMap.

Definition

Namespace:Telerik.WinControls.UI.HeatMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class MemberMapping : INotifyPropertyChanged

Inheritance: objectMemberMapping

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the MemberMapping class.

C#
public MemberMapping()

Initializes a mapping with a row or column header and the source item's value property.

C#
public MemberMapping(string header, string valueMember)
Parameters:headerstring

The text used as the mapped row or column header.

valueMemberstring

The source item property that supplies cell values.

Properties

Gets or sets the colorizer. The colorizer is accountable for selecting a color for a cell, based on the cell's value.

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

Gets or sets the row-header (or column-header) text.

C#
public virtual string Header { get; set; }

Gets or sets the name of the property of the underlying item, which determines the value of a cell in the grid.

C#
public virtual string ValueMember { get; set; }

Methods

Creates the relative gradient colorizer assigned to a new mapping, with stops at positions 0 and 1.

C#
protected virtual HeatMapColorizer CreateDefaultColorizer()
Returns:

HeatMapColorizer

The default gradient colorizer.

Notifies observers that a mapping property has changed.

C#
protected virtual void RaisePropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the changed property.

Returns the type label without including the mapping's configured header or value member.

C#
public override string ToString()
Returns:

string

The literal string MemberMapping.

Overrides: object.ToString()

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged