Class Style
Represents the Style class. To render this, create an instance of the Style class, and set required properties.
Inheritance
Namespace: Syncfusion.SfTreeMap.XForms
Assembly: Syncfusion.SfTreeMap.XForms.dll
Syntax
public class Style : Element, IThemeElement
Constructors
Style()
Initializes a new instance of the Style class.
Declaration
public Style()
Fields
BackgroundColorProperty
Gets or sets the Background Color property, and this property is used to set the background color for the text element.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ColorProperty
Gets or sets the Color property. This property is used to set the foreground color for the text element. This is a bindable property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
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 |
FontProperty
Gets or sets the font property. This property is used to customize the font for text element. This is a bindable property.
Declaration
public static readonly BindableProperty FontProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontSizeProperty
Gets 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 |
MarginProperty
Gets or sets the margin property. This property is used to set Margin for text element. This is a bindable property.
Declaration
public static readonly BindableProperty MarginProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
BackgroundColor
Gets or sets the Background Color property, and this property is used to set the background color for the text element.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
Color
Gets or sets the Color property. This property is used to set the foreground color for the text element. This is a bindable property.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
Font
Gets or sets the font property. This property is used to customize the font for text element. This is a bindable property.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Font |
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 tree 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 |
Margin
Gets or sets the margin property. This property is used to set margin for text element. This is a bindable property.
Declaration
public Thickness Margin { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Thickness |