Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Style - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Style

    Represents the style instance of the diagram elements.

    Inheritance
    System.Object
    Style
    Implements
    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 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.

    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 Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    ICloneable
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved