Class LegendItem
Represents the class implementation for LegendItem.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class LegendItem : DependencyObject, INotifyPropertyChanged
Constructors
LegendItem()
Declaration
public LegendItem()
Fields
CheckBoxVisibilityProperty
The DependencyProperty for CheckBoxVisibility property.
Declaration
public static readonly DependencyProperty CheckBoxVisibilityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IconHeightProperty
The DependencyProperty for IconHeight property.
Declaration
public static readonly DependencyProperty IconHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IconVisibilityProperty
The DependencyProperty for IconVisibility property.
Declaration
public static readonly DependencyProperty IconVisibilityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IconWidthProperty
The DependencyProperty for IconWidth property.
Declaration
public static readonly DependencyProperty IconWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
InteriorProperty
The DependencyProperty for Interior property.
Declaration
public static readonly DependencyProperty InteriorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsSeriesVisibleProperty
The DependencyProperty for IsSeriesVisible property.
Declaration
public static readonly DependencyProperty IsSeriesVisibleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ItemMarginProperty
The DependencyProperty for ItemMargin property.
Declaration
public static readonly DependencyProperty ItemMarginProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LabelProperty
The DependencyProperty for Label property.
Declaration
public static readonly DependencyProperty LabelProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LegendIconTemplateProperty
The DependencyProperty for LegendIconTemplate property.
Declaration
public static readonly DependencyProperty LegendIconTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OpacityProperty
The DependencyProperty for Opacity property.
Declaration
public static readonly DependencyProperty OpacityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StrokeThicknessProperty
The DependencyProperty for StrokeThickness property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
VisibilityOnLegendProperty
The DependencyProperty for VisibilityOnLegend property.
Declaration
public static readonly DependencyProperty VisibilityOnLegendProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
CheckBoxVisibility
Gets or sets checkbox visibility of the legend item.
Declaration
public Visibility CheckBoxVisibility { get; set; }
Property Value
Type |
---|
System.Windows.Visibility |
IconHeight
Gets or sets height of the legend item icon.
Declaration
public double IconHeight { get; set; }
Property Value
Type |
---|
System.Double |
IconVisibility
Gets or sets icon visibility of the legend item.
Declaration
public Visibility IconVisibility { get; set; }
Property Value
Type |
---|
System.Windows.Visibility |
IconWidth
Gets or sets width of the legend item icon.
Declaration
public double IconWidth { get; set; }
Property Value
Type |
---|
System.Double |
Interior
Gets or sets interior for legend item.
Declaration
public Brush Interior { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
IsSeriesVisible
Gets or sets a value indicating whether is series visible or not.
Declaration
public bool IsSeriesVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
Item
Gets or sets Item of the legend item.
Declaration
public object Item { get; set; }
Property Value
Type |
---|
System.Object |
ItemMargin
Gets or sets margin of the legend item.
Declaration
public Thickness ItemMargin { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
Label
Gets or sets the value for the legend item label text.
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
LegendIconTemplate
Gets or sets the data template for the legend icon.
Declaration
public DataTemplate LegendIconTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | System.Windows.DataTemplate |
Opacity
Gets or sets Opacity of the legend item.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Segment
Gets or sets Segment of the legend item.
Declaration
public ChartSegment Segment { get; set; }
Property Value
Type |
---|
ChartSegment |
Series
Gets or sets the Series of the legend item.
Declaration
public ChartSeriesBase Series { get; set; }
Property Value
Type |
---|
ChartSeriesBase |
Stroke
Gets or sets stroke for the legend item.
Declaration
public Brush Stroke { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
StrokeThickness
Gets or sets stroke thickness for legend item.
Declaration
public double StrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
Trendline
Gets or sets the Trendline of the legend item.
Declaration
public TrendlineBase Trendline { get; set; }
Property Value
Type |
---|
TrendlineBase |
VisibilityOnLegend
Gets or sets value whether legend is visible or not.
Declaration
public Visibility VisibilityOnLegend { get; set; }
Property Value
Type |
---|
System.Windows.Visibility |
Events
PropertyChanged
Occurs when a property value changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |