menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class DataLabelSetting

    Represents the DataLabelSetting. To render thisdata label setting, Create an instance of DataLabelSetting class and set required properties.

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

    Constructors

    DataLabelSetting()

    Initializes a new instance of the DataLabelSetting class, Using this instance we can set value for required properties of an DataLabelSetting.

    Declaration
    public DataLabelSetting()

    Fields

    FontAttributesProperty

    Gets or sets the font attributes property for the data label. Used to change the font style of an data labels.

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

    FontFamilyProperty

    Gets or sets the font family property for the data label in maps. Used to change the font family of data label.

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

    FontSizeProperty

    Dets or sets the size property of the font for the data label. Used to change the size of an font for data labels.

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

    IntersectionActionProperty

    Gets or sets the intersect action property for the data label. Used to align the data labels that overlaps in maps.

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

    SmartLabelModeProperty

    Gets or sets the SmartLabelMode property for the data label. Used to aligns the labels smartly within shape boundaries and avoids labels overlapping.

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

    TextColorProperty

    Gets or sets the text color property of the label items. Used to customize the color of an text. This is a bindable property.

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

    Properties

    FontAttributes

    Gets or sets the font attributes for the data label. Used to change the font style of an data labels.

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

    FontFamily

    Gets or sets the font family for the data label in maps. Used to change the font family of data label.

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

    FontSize

    Gets or sets the size of the font for the data label. Used to change the size of an font for data labels.

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

    IntersectionAction

    Gets or sets the intersect action for the data label. Used to align the data labels that overlaps in maps.

    Declaration
    public IntersectAction IntersectionAction { get; set; }
    Property Value
    Type
    IntersectAction

    SmartLabelMode

    Gets or sets the SmartLabelMode for the data label. Used to aligns the labels smartly within shape boundaries and avoids labels overlapping.

    Declaration
    public IntersectAction SmartLabelMode { get; set; }
    Property Value
    Type
    IntersectAction

    TextColor

    Gets or sets the text color of the label items. Used to customize the color of an text. This is a bindable property.

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

    This property takes the Xamarin.Forms.Color value.

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