Class Style
Represents the style instance of the diagram elements.
Inheritance
System.Object
Style
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.SfDiagram.iOS
Assembly: Syncfusion.SfDiagram.iOS.dll
Syntax
public class Style : Object, ICloneable, INotifyPropertyChanged
Constructors
Style()
Initializes a new instance of the Style class.
Declaration
public Style()
Style(UIColor, UIColor, Single)
Initializes a new instance of the Style class.
Declaration
public Style(UIColor fillColor, UIColor strokeColor, float strokeWidth)
Parameters
Type | Name | Description |
---|---|---|
UIKit.UIColor | fillColor | The color that is used to fill. |
UIKit.UIColor | strokeColor | The color that is used to stroke. |
System.Single | strokeWidth | The width of the stroke. |
Properties
Brush
Gets or sets or set the brush for this style instance.
Declaration
public Brush Brush { get; set; }
Property Value
Type |
---|
Brush |
StrokeBrush
Gets or sets the stroke brush for this style instance.
Declaration
public Brush StrokeBrush { get; set; }
Property Value
Type |
---|
Brush |
StrokeStyle
Gets or sets the stroke style.
Declaration
public StrokeStyle StrokeStyle { get; set; }
Property Value
Type | Description |
---|---|
StrokeStyle | The stroke style. |
StrokeWidth
Gets or sets the width of the stroke.
Declaration
public float StrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The width of the stroke. |
Methods
Clone()
Clones this instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | return clone. |
OnPropertyChanged(String)
property changed.
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Events
PropertyChanged
property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged