alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class TextStyle

    Defines the text and background appearance of an Annotation.

    Inheritance
    System.Object
    DiagramElement
    ShapeStyle
    TextStyle
    Inherited Members
    DiagramElement.OnPropertyChanged(String)
    ShapeStyle.Opacity
    ShapeStyle.OpacityProperty
    ShapeStyle.StrokeColor
    ShapeStyle.StrokeColorProperty
    ShapeStyle.StrokeDashArray
    ShapeStyle.StrokeDashArrayProperty
    ShapeStyle.StrokeWidth
    ShapeStyle.StrokeWidthProperty
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public class TextStyle : ShapeStyle

    Constructors

    TextStyle()

    Declaration
    public TextStyle()

    Fields

    BoldProperty

    Identifies the Bold bindable property.

    Declaration
    public static readonly BindableProperty BoldProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ColorProperty

    Identifies the Color bindable property.

    Declaration
    public static readonly BindableProperty ColorProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FillProperty

    Identifies the Fill bindable property.

    Declaration
    public static readonly BindableProperty FillProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FontFamilyProperty

    Identifies the FontFamily bindable property.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FontSizeProperty

    Identifies the FontSize bindable property.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ItalicProperty

    Identifies the Italic bindable property.

    Declaration
    public static readonly BindableProperty ItalicProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    Bold

    Gets or sets a value indicating whether the text is bold.

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type
    System.Boolean

    Color

    Gets or sets the text color.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    Fill

    Gets or sets the background fill behind the annotation's text.

    Declaration
    public Color Fill { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    FontFamily

    Gets or sets the font family name.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type
    System.String

    FontSize

    Gets or sets the font size, in points.

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

    Italic

    Gets or sets a value indicating whether the text is italic.

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved