Class LegendItem
Represents the class implementation for LegendItem.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.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 |
---|
Windows.UI.Xaml.DependencyProperty |
IconHeightProperty
The DependencyProperty for IconHeight property.
Declaration
public static readonly DependencyProperty IconHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IconVisibilityProperty
The DependencyProperty for IconVisibility property.
Declaration
public static readonly DependencyProperty IconVisibilityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IconWidthProperty
The DependencyProperty for IconWidth property.
Declaration
public static readonly DependencyProperty IconWidthProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
InteriorProperty
The DependencyProperty for Interior property.
Declaration
public static readonly DependencyProperty InteriorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsSeriesVisibleProperty
The DependencyProperty for IsSeriesVisible property.
Declaration
public static readonly DependencyProperty IsSeriesVisibleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ItemMarginProperty
The DependencyProperty for ItemMargin property.
Declaration
public static readonly DependencyProperty ItemMarginProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LabelProperty
The DependencyProperty for Label property.
Declaration
public static readonly DependencyProperty LabelProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
LegendIconTemplateProperty
The DependencyProperty for LegendIconTemplate property.
Declaration
public static readonly DependencyProperty LegendIconTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
OpacityProperty
The DependencyProperty for Opacity property.
Declaration
public static readonly DependencyProperty OpacityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
StrokeProperty
The DependencyProperty for Stroke property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
StrokeThicknessProperty
The DependencyProperty for StrokeThickness property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
VisibilityOnLegendProperty
The DependencyProperty for VisibilityOnLegend property.
Declaration
public static readonly DependencyProperty VisibilityOnLegendProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
CheckBoxVisibility
Gets or sets checkbox visibility of the legend item.
Declaration
public Visibility CheckBoxVisibility { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.Media.Brush | The Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.DataTemplate | Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.Media.Brush | The Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.Visibility |
Events
PropertyChanged
Occurs when a property value changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |