Class LegendItem
Data representation of the legend items displayed in the chart legend.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class LegendItem : INotifyPropertyChanged
Constructors
LegendItem()
LegendItem(UIChartElement)
Initializes a new instance of the LegendItem class.
Declaration
public LegendItem(UIChartElement element)
Parameters
UIChartElement
element
The element this legend item represents. |
Properties
Element
Gets the element that this legend item represents.
Declaration
public UIChartElement Element { get; }
Property Value
UIChartElement
|
Title
Gets and set the Legend Title.
Declaration
public string Title { get; set; }
Property Value
System.String
|
Methods
GetLegendTitle()
Gets the legend title.
Declaration
protected virtual string GetLegendTitle()
Returns
System.String
|
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
SetLegendTitle(String)
Sets the legend title.
Declaration
protected virtual void SetLegendTitle(string title)
Parameters
System.String
title
The title. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|