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

Provides the generated legend element and its source metadata during item creation.

Definition

Namespace:Telerik.WinControls.UI.HeatMap

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class LegendItemElementCreatingEventArgs : EventArgs

Inheritance: objectEventArgsLegendItemElementCreatingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the LegendItemElementCreatingEventArgs class.

C#
public LegendItemElementCreatingEventArgs(LightVisualElement visualElement, HeatMapColorizer colorizer, HeatMapDefinition definition, MemberMapping mapping = null)
Parameters:visualElementLightVisualElement

The visual element.

colorizerHeatMapColorizer

The colorizer.

definitionHeatMapDefinition

The definition.

mappingMemberMapping

The member mapping when the definition is HorizontalDefinition or VerticalDefinition.

Properties

Gets the colorizer whose ranges or categories are represented by the legend item.

C#
public HeatMapColorizer Colorizer { get; }

Gets the heat map definition.

C#
public HeatMapDefinition Definition { get; }

Gets or sets the visual legend item element. Can be modified or changed.

C#
public LightVisualElement ItemElement { get; set; }

Gets the member mapping when the definition is HorizontalDefinition or VerticalDefinition. When the definition is CategoricalDefinition this property returns null.

C#
public MemberMapping Mapping { get; }