Class NodeStyle
NodeStyle class.
Inheritance
System.Object
NodeStyle
Namespace: Syncfusion.SfDiagram.XForms
Assembly: Syncfusion.SfDiagram.XForms.dll
Syntax
public class NodeStyle : Object
Constructors
NodeStyle(Brush, Color, Object, StrokeStyle, TextStyle)
Initializes a new instance of the NodeStyle class.
Declaration
public NodeStyle(Brush fillBrush, Color borderColor, object shape, StrokeStyle borderStyle, TextStyle textStyle)
Parameters
Type | Name | Description |
---|---|---|
Brush | fillBrush | FillBrush. |
Xamarin.Forms.Color | borderColor | BorderColor. |
System.Object | shape | Shape. |
StrokeStyle | borderStyle | BorderStyle. |
TextStyle | textStyle | TextStyle. |
Properties
BorderColor
Gets the color of the border.
Declaration
public Color BorderColor { get; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The color of the border. |
BorderStyle
Gets the border style.
Declaration
public StrokeStyle BorderStyle { get; }
Property Value
Type | Description |
---|---|
StrokeStyle | The border style. |
Brush
Gets the color of the fill.
Declaration
public Brush Brush { get; }
Property Value
Type | Description |
---|---|
Brush | The color of the fill. |
Shape
Gets the shape.
Declaration
public object Shape { get; }
Property Value
Type | Description |
---|---|
System.Object | The shape. |
TextStyle
Gets the TextStyle.
Declaration
public TextStyle TextStyle { get; }
Property Value
Type | Description |
---|---|
TextStyle | The TextStyle. |