menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class LegendSettings

    Represents the legend settings class. To render this, create an instance of LegendSettings, and set required properties.

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

    Constructors

    LegendSettings()

    Initializes a new instance of the LegendSettings class.

    Declaration
    public LegendSettings()

    Fields

    IconSizeProperty

    Gets or sets the IconSize property. This property is used to set size for the legend Icons. This is a bindable property.

    Declaration
    public static readonly BindableProperty IconSizeProperty
    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

    LegendIconProperty

    Gets or sets the legendIcon property. This property is used to customize the icons. This is a bindable property.

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

    LegendPositionProperty

    Gets or sets the legendposition property. This property is used to customize the position for legends. This is a bindable property.

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

    ShowLegendProperty

    Gets or sets the boolean value that indicates whether the legend should be visible for tree map.

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

    SizeProperty

    Gets or sets the size property. This method is used to set the legend Size. This is a bindable property.

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

    Properties

    IconSize

    Gets or sets the IconSize property. This property is used to set size for the legend Icons. This is a bindable property.

    Declaration
    public Size IconSize { get; set; }
    Property Value
    Type
    Xamarin.Forms.Size

    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

    LegendIcon

    Gets or sets the legendIcon property. This property is used to customize the icons. This is a bindable property.

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

    LegendPosition

    Gets or sets the legendposition property. This property is used to customize the position for legends. This is a bindable property.

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

    ShowLegend

    Gets or sets a value indicating whether the legend should be visible for tree map.

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

    Size

    Gets or sets the size property. This method is used to set the legend size. This is a bindable property.

    Declaration
    public Size Size { get; set; }
    Property Value
    Type
    Xamarin.Forms.Size
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved