menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Style - API Reference

    Show / Hide Table of Contents

    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 Description
    Xamarin.Forms.BindableProperty

    StrokeBrushProperty

    Represents the bindable property of StrokeBrushProperty.

    Declaration
    public static readonly BindableProperty StrokeBrushProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    StrokeStyleProperty

    Represents the bindable property of StrokeStyleProperty.

    Declaration
    public static readonly BindableProperty StrokeStyleProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    StrokeWidthProperty

    Represents the bindable property of StrokeWidthProperty.

    Declaration
    public static readonly BindableProperty StrokeWidthProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    Brush

    Initializes a new instance of the Style class.

    Declaration
    public Brush Brush { get; set; }
    Property Value
    Type Description
    Brush

    StrokeBrush

    Gets or sets the stroke brush for this style instance.

    Declaration
    public Brush StrokeBrush { get; set; }
    Property Value
    Type Description
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved