Class SFLabelStyle
This class serves as a base class for all types of label style.
Inheritance
System.Object
SFLabelStyle
Namespace: Syncfusion.SfChart.iOS
Assembly: Syncfusion.SFChart.iOS.dll
Syntax
public class SFLabelStyle : Object
Constructors
SFLabelStyle()
Declaration
public SFLabelStyle()
Properties
BackgroundColor
Gets or sets the background color for the labels.
Declaration
public UIColor BackgroundColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
BorderColor
Gets or sets the color of the border.
Declaration
public UIColor BorderColor { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
BorderWidth
Gets or sets the width of the border.
Declaration
public float BorderWidth { get; set; }
Property Value
Type |
---|
System.Single |
Color
Gets or sets the foreground color for the labels.
Declaration
public UIColor Color { get; set; }
Property Value
Type |
---|
UIKit.UIColor |
Font
Gets or sets the font style for the labels.
Declaration
public UIFont Font { get; set; }
Property Value
Type |
---|
UIKit.UIFont |
LabelFormatter
Gets or sets the different format for the labels.
Declaration
public NSFormatter LabelFormatter { get; set; }
Property Value
Type |
---|
Foundation.NSFormatter |
Margin
Gets or sets the distance insets for the labels from the border.
Declaration
public UIEdgeInsets Margin { get; set; }
Property Value
Type |
---|
UIKit.UIEdgeInsets |
Methods
OnPropertyChanged(Boolean, String)
Declaration
protected virtual void OnPropertyChanged(bool requestLayout, string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | requestLayout | |
System.String | propertyName |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |