menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeMapLeafItemSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeMapLeafItemSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    TreeMapLeafItemSettings
    Namespace: Syncfusion.EJ2.TreeMap
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeMapLeafItemSettings : EJTagHelper

    Constructors

    TreeMapLeafItemSettings()

    Declaration
    public TreeMapLeafItemSettings()

    Properties

    AutoFill

    Enables or disables automatic filling of colors from the palette in the leaf items of the treemap.

    Declaration
    public bool AutoFill { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Border

    Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap.

    Declaration
    public TreeMapBorder Border { get; set; }
    Property Value
    Type Description
    TreeMapBorder

    The default value is null

    ColorMapping

    Sets and gets the options to customize color-mapping of the treemap leaf items.

    Declaration
    public List<TreeMapColorMapping> ColorMapping { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<TreeMapColorMapping>

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Fill

    Sets and gets the fill color of leaf items in the treemap.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Gap

    Sets and gets the gap between the leaf item in the treemap.

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

    The default value is 0

    InterSectAction

    Sets and gets the actions to perform when labels intersects with other labels in a treemap leaf item.

    Declaration
    public LabelAlignment InterSectAction { get; set; }
    Property Value
    Type Description
    LabelAlignment

    The default value is LabelAlignment.Trim

    LabelFormat

    Sets and gets the string to format the label text of leaf item in the treemap.

    Declaration
    public string LabelFormat { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    LabelPath

    Sets and gets the value path from the data source for label of leaf item in the treemap.

    Declaration
    public string LabelPath { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    LabelPosition

    Sets and gets the position of the labels in the treemap.

    Declaration
    public LabelPosition LabelPosition { get; set; }
    Property Value
    Type Description
    LabelPosition

    The default value is LabelPosition.TopLeft

    LabelStyle

    Sets and gets the options to customize the style of the labels of treemap leaf item.

    Declaration
    public TreeMapFont LabelStyle { get; set; }
    Property Value
    Type Description
    TreeMapFont

    The default value is null

    LabelTemplate

    Sets and gets the label template of leaf item in the treemap to render custom elements in the labels.

    Declaration
    public string LabelTemplate { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Opacity

    Sets and gets the opacity of leaf item in the treemap.

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

    The default value is 1

    Padding

    Sets and gets the padding of leaf item in the treemap.

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

    The default value is 10

    ShowLabels

    Shows or hides the labels in the treemap.

    Declaration
    public bool ShowLabels { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    TemplatePosition

    Sets and gets the position of the label template of treemap leaf item.

    Declaration
    public LabelPosition TemplatePosition { get; set; }
    Property Value
    Type Description
    LabelPosition

    The default value is LabelPosition.Center

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved