menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Stencil - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Stencil

    Represents the stencil which holds a list of symbols that is displayed over a diagram.

    Inheritance
    System.Object
    Stencil
    Namespace: Syncfusion.SfDiagram.XForms
    Assembly: Syncfusion.SfDiagram.XForms.dll
    Syntax
    public class Stencil : View, IThemeElement

    Constructors

    Stencil()

    Initializes a new instance of the Stencil class.

    Declaration
    public Stencil()

    Fields

    BackgroundColorProperty

    Represents the bindable property of BackgroundColorProperty.

    Declaration
    public static readonly BindableProperty BackgroundColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    BorderColorProperty

    Represents the bindable property of BorderColorProperty.

    Declaration
    public static readonly BindableProperty BorderColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    HeightRequestProperty

    Represents the bindable property of HeightRequestProperty.

    Declaration
    public static readonly BindableProperty HeightRequestProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SymbolGroupsProperty

    Represents the bindable property of SymbolGroupsProperty.

    Declaration
    public static readonly BindableProperty SymbolGroupsProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SymbolStyleProperty

    Represents the bindable property of SymbolStyleProperty.

    Declaration
    public static readonly BindableProperty SymbolStyleProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    WidthRequestProperty

    Represents the bindable property of WidthRequestProperty.

    Declaration
    public static readonly BindableProperty WidthRequestProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    BackgroundColor

    Gets or sets the background color of the stencil.

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    BorderColor

    Gets or sets the border color of the stencil.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    HeightRequest

    Gets or sets or set the height of the stencil.

    Declaration
    public double HeightRequest { get; set; }
    Property Value
    Type
    System.Double

    SymbolGroups

    Gets or sets the symbol groups in the Stencil.

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

    It defines the symbol groups.

    SymbolStyle

    Gets or sets the symbol style.

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

    The symbol style.

    WidthRequest

    Gets or sets or set the Width of the stencil.

    Declaration
    public double WidthRequest { get; set; }
    Property Value
    Type
    System.Double

    Methods

    UpdateStencilView()

    UpdateStencilView.

    Declaration
    public void UpdateStencilView()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved