menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LeafItemSettings - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LeafItemSettings

    Represents the leaf item settings class. To render this, create an instance of LeafItemSettings, and set required properties.

    Inheritance
    System.Object
    LeafItemSettings
    Namespace: Syncfusion.SfTreeMap.XForms
    Assembly: Syncfusion.SfTreeMap.XForms.dll
    Syntax
    public class LeafItemSettings : Element, IThemeElement

    Constructors

    LeafItemSettings()

    Initializes a new instance of the LeafItemSettings class.

    Declaration
    public LeafItemSettings()

    Fields

    BorderColorProperty

    Gets or sets the BorderColor property. This property is used to set the leaf level item border color. This is a bindable property.

    Declaration
    public static readonly BindableProperty BorderColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    BorderWidthProperty

    Gets or sets the BorderWidth property. This property is used to customize the width of the tree map item. This is a bindable property.

    Declaration
    public static readonly BindableProperty BorderWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    GapProperty

    Gets or sets the Gap property. This property is used to set padding between leaf level items. This is a bindable property.

    Declaration
    public static readonly BindableProperty GapProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelPathProperty

    Gets or sets the label path property. This property is used to set in which path label should be applied. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelPathProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LabelStyleProperty

    Gets or sets the label style property. This is used to set different style labels. This is a bindable property.

    Declaration
    public static readonly BindableProperty LabelStyleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    OverflowModeProperty

    Gets or sets the OverflowMode property. This property is used to customize the label intersection of the tree map item. This is a bindable property.

    Declaration
    public static readonly BindableProperty OverflowModeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    ShowLabelsProperty

    Gets or sets the boolean value that indicates whether the label should be visible for the leaf level items in TreeMap. This is a bindable property.

    Declaration
    public static readonly BindableProperty ShowLabelsProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    BorderColor

    Gets or sets the BorderColor property. This property is used to set the leaf level item border color. This is a bindable property.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    BorderWidth

    Gets or sets the BorderWidth property. This property is used to customize the width of tree map item. This is a bindable property.

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

    Gap

    Gets or sets the Gap property. This property is used to set padding between leaf level items. This is a bindable property.

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

    LabelPath

    Gets or sets the label path property. This property is used to set in which path label should be applies. This is a bindable property.

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

    LabelStyle

    Gets or sets the label style property. This is used to set different style labels. This is a bindable property.

    Declaration
    public Style LabelStyle { get; set; }
    Property Value
    Type
    Style

    OverflowMode

    Gets or sets the OverflowMode.

    Declaration
    public LabelOverflowMode OverflowMode { get; set; }
    Property Value
    Type
    LabelOverflowMode

    ShowLabels

    Gets or sets a value indicating whether the label should be visible for leaf level items in tree map.

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

    Methods

    OnBindingContextChanged()

    Called when binding context changed.

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