menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SmithChartLegend - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SmithChartLegend

    Represents legend for a SfSmithChart.

    Inheritance
    System.Object
    SmithChartLegend
    Namespace: Syncfusion.UI.Xaml.SmithChart
    Assembly: Syncfusion.SfSmithChart.UWP.dll
    Syntax
    public class SmithChartLegend : ItemsControl

    Constructors

    SmithChartLegend()

    Initializes a new instance of the SmithChartLegend class.

    Declaration
    public SmithChartLegend()

    Fields

    DockPositionProperty

    The DependencyProperty for DockPosition property.

    Declaration
    public static readonly DependencyProperty DockPositionProperty
    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

    IconWidthProperty

    The DependencyProperty for IconWidth property.

    Declaration
    public static readonly DependencyProperty IconWidthProperty
    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

    LegendIconProperty

    The DependencyProperty for SmithChartLegendIcon property.

    Declaration
    public static readonly DependencyProperty LegendIconProperty
    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

    OffsetXProperty

    Identifies the OffsetX dependency property. The DependencyProperty for OffsetX property.

    Declaration
    public static readonly DependencyProperty OffsetXProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    OffsetYProperty

    Identifies the OffsetX dependency property. The DependencyProperty for OffsetY property.

    Declaration
    public static readonly DependencyProperty OffsetYProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    DockPosition

    Gets or sets the position of the legend.

    Declaration
    public ChartDock DockPosition { get; set; }
    Property Value
    Type
    ChartDock

    IconHeight

    Gets or sets height of the legend icon.

    Declaration
    public double IconHeight { get; set; }
    Property Value
    Type
    System.Double

    IconWidth

    Gets or sets width of the legend icon.

    Declaration
    public double IconWidth { get; set; }
    Property Value
    Type
    System.Double

    ItemMargin

    Gets or sets the margin for legend item.

    Declaration
    public Thickness ItemMargin { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Thickness

    LegendIcon

    Gets or sets the legend icon type.

    Declaration
    public SmithChartLegendIcon LegendIcon { get; set; }
    Property Value
    Type
    SmithChartLegendIcon

    LegendIconTemplate

    Gets or sets the custom legend icon template.

    Declaration
    public DataTemplate LegendIconTemplate { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.DataTemplate

    OffsetX

    Gets or sets the x-axis value of the left edge of ChartLegend relative to Chart.

    Declaration
    public double OffsetX { get; set; }
    Property Value
    Type Description
    System.Double

    The OffsetX.

    OffsetY

    Gets or sets the y-axis value of the top edge of ChartLegend relative to Chart.

    Declaration
    public double OffsetY { get; set; }
    Property Value
    Type Description
    System.Double

    The OffsetY.

    Methods

    OnPointerExited(PointerRoutedEventArgs)

    Called when the Pointer leave from the chart legend.

    Declaration
    protected override void OnPointerExited(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    Event args.

    OnPointerMoved(PointerRoutedEventArgs)

    Called when the Pointer Moved on theSmithChartLegend

    Declaration
    protected override void OnPointerMoved(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    Event args.

    OnPointerPressed(PointerRoutedEventArgs)

    Called when the mouse button pressed on the SmithChartLegendItem.

    Declaration
    protected override void OnPointerPressed(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    Event args.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved