menu

UWP

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

    Show / Hide Table of Contents

    Class SunburstLegend

    Represents legend for a SfSunburstChart.

    Inheritance
    System.Object
    SunburstLegend
    Namespace: Syncfusion.UI.Xaml.SunburstChart
    Assembly: Syncfusion.SfSunburstChart.UWP.dll
    Syntax
    public class SunburstLegend : ItemsControl

    Constructors

    SunburstLegend()

    Initializes a new instance of the SunburstLegend class.

    Declaration
    public SunburstLegend()

    Fields

    ClickActionProperty

    The DependencyProperty for ClickAction property.

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

    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 SunburstLegendIcon 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

    Properties

    ClickAction

    Gets or sets a value that determines whether to toggle corresponding segment visibility or selection while selecting the legend item.

    Declaration
    public LegendClickAction ClickAction { get; set; }
    Property Value
    Type
    LegendClickAction

    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 SunburstLegendIcon LegendIcon { get; set; }
    Property Value
    Type
    SunburstLegendIcon

    LegendIconTemplate

    Gets or sets the custom legend icon template.

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

    Methods

    OnPointerExited(PointerRoutedEventArgs)

    Called when the pointer was exited from the chart.

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

    Event args.

    OnPointerMoved(PointerRoutedEventArgs)

    Called when the mouse move on the SunburstLegendItem.

    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 SunburstLegendItem.

    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