Provides the generated legend element and its source metadata during item creation.
Definition
Namespace:Telerik.WinControls.UI.HeatMap
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class LegendItemElementCreatingEventArgs : EventArgs
Inheritance: objectEventArgsLegendItemElementCreatingEventArgs
Inherited Members
Constructors
Initializes a new instance of the LegendItemElementCreatingEventArgs class.
public LegendItemElementCreatingEventArgs(LightVisualElement visualElement, HeatMapColorizer colorizer, HeatMapDefinition definition, MemberMapping mapping = null)
The visual element.
colorizerHeatMapColorizerThe colorizer.
definitionHeatMapDefinitionThe definition.
mappingMemberMappingThe member mapping when the definition is HorizontalDefinition or VerticalDefinition.
Properties
Gets the colorizer whose ranges or categories are represented by the legend item.
public HeatMapColorizer Colorizer { get; }
Gets the heat map definition.
public HeatMapDefinition Definition { get; }
Gets or sets the visual legend item element. Can be modified or changed.
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.
public MemberMapping Mapping { get; }