Class Style
Represents the style instance of the diagram elements.
Inheritance
System.Object
Style
Namespace: Syncfusion.SfDiagram.XForms
Assembly: Syncfusion.SfDiagram.XForms.dll
Syntax
public class Style : BindableObject
Constructors
Style()
Initializes a new instance of the Style class.
Declaration
public Style()
Fields
BrushProperty
Represents the bindable property of BrushProperty.
Declaration
public static readonly BindableProperty BrushProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeBrushProperty
Represents the bindable property of StrokeBrushProperty.
Declaration
public static readonly BindableProperty StrokeBrushProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeStyleProperty
Represents the bindable property of StrokeStyleProperty.
Declaration
public static readonly BindableProperty StrokeStyleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StrokeWidthProperty
Represents the bindable property of StrokeWidthProperty.
Declaration
public static readonly BindableProperty StrokeWidthProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Brush
Initializes a new instance of the Style class.
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. |