ClassRadLegendControl
Represents legend control that displays the series from ILegendInfoProvider instance.
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadLegendControl : RadControl
Inheritance: objectRadControlRadLegendControl
Inherited Members
Constructors
RadLegendControl()
Initializes a new instance of the RadLegendControl class.
Declaration
public RadLegendControl()
Fields
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
DependencyProperty
ItemsPanelProperty
Identifies the ItemsPanel property.
Declaration
public static readonly DependencyProperty ItemsPanelProperty
Field Value
DependencyProperty
LegendProviderProperty
Identifies the LegendProvider property.
Declaration
public static readonly DependencyProperty LegendProviderProperty
Field Value
DependencyProperty
Properties
ItemTemplate
Gets or sets the DataTemplate used to display each legend item.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
DataTemplate
ItemsPanel
Gets or sets the items panel that will be used for the legend presenter to display data.
Declaration
public ItemsPanelTemplate ItemsPanel { get; set; }
Property Value
ItemsPanelTemplate
LegendItems
Gets a collection of the LegendItem items that will be displayed.
Declaration
public virtual LegendItemCollection LegendItems { get; }
Property Value
LegendProvider
Gets or sets the provider that this RadLegendControl will use to display its items.
Declaration
public ILegendInfoProvider LegendProvider { get; set; }
Property Value
Methods
ApplyTemplateCore()
Called when the Framework OnApplyTemplate is called. Inheritors should override this method should they have some custom template-related logic. This is done to ensure that the property is properly initialized.