menu

WPF

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

    Show / Hide Table of Contents

    Class TreeMapLegend

    TreeMapLegend class

    Inheritance
    System.Object
    TreeMapLegend
    Namespace: Syncfusion.UI.Xaml.TreeMap
    Assembly: Syncfusion.SfTreeMap.WPF.dll
    Syntax
    public class TreeMapLegend : ItemsControl

    Constructors

    TreeMapLegend()

    Constructor

    Declaration
    public TreeMapLegend()

    Fields

    HeaderProperty

    // Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty HeaderProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendIconHeightProperty

    // Using a DependencyProperty as the backing store for LegendIconHeight. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendIconHeightProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendIconStyleProperty

    // Using a DependencyProperty as the backing store for LegendIconStyle. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendIconStyleProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendIconTemplateProperty

    // Using a DependencyProperty as the backing store for LegendIconTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendIconTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendIconWidthProperty

    // Using a DependencyProperty as the backing store for LegendIconWidth. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendIconWidthProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendItemElementMarginProperty

    // Using a DependencyProperty as the backing store for LegendItemElementMargin. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendItemElementMarginProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendItemHeightProperty

    // Using a DependencyProperty as the backing store for LegendItemHeight. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendItemHeightProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendItemMarginProperty

    // Using a DependencyProperty as the backing store for LegendItemMargin. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendItemMarginProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendItemWidthProperty

    // Using a DependencyProperty as the backing store for LegendItemWidth. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendItemWidthProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    LegendPositionProperty

    // Using a DependencyProperty as the backing store for LegendPosition. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LegendPositionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    Header

    Gets or Sets Header value

    Declaration
    public object Header { get; set; }
    Property Value
    Type
    System.Object

    LegendIconHeight

    Gets or Sets LegendIconHeight

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

    LegendIconStyle

    Gets or Sets LegendIconStyle

    Declaration
    public TreeMapLegendIcon LegendIconStyle { get; set; }
    Property Value
    Type
    TreeMapLegendIcon

    LegendIconTemplate

    Gets or Sets LegendIconTemplate

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

    LegendIconWidth

    Gets or Sets LegendIconWidth

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

    LegendItemElementMargin

    Gets or Sets LegendItemElementMargin

    Declaration
    public Thickness LegendItemElementMargin { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    LegendItemHeight

    Gets or Sets LegendItemHeight

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

    LegendItemMargin

    Gets or Sets LegendItemMargin

    Declaration
    public Thickness LegendItemMargin { get; set; }
    Property Value
    Type
    System.Windows.Thickness

    LegendItemWidth

    Gets or Sets LegendItemWidth

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

    LegendPosition

    Gets or Sets LegendPosition

    Declaration
    public TreeMapLegendPosition LegendPosition { get; set; }
    Property Value
    Type
    TreeMapLegendPosition

    TreeMap

    Gets or Sets values for TreeMap

    Declaration
    public SfTreeMap TreeMap { get; }
    Property Value
    Type
    SfTreeMap

    Methods

    OnApplyTemplate()

    Method gets called when the default style key template gets applied.

    Declaration
    public override void OnApplyTemplate()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved