alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TextStyle

    Defines the text and background appearance of an Annotation.

    Inheritance
    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
    BindableProperty

    ColorProperty

    Identifies the Color bindable property.

    Declaration
    public static readonly BindableProperty ColorProperty
    Field Value
    Type
    BindableProperty

    FillProperty

    Identifies the Fill bindable property.

    Declaration
    public static readonly BindableProperty FillProperty
    Field Value
    Type
    BindableProperty

    FontFamilyProperty

    Identifies the FontFamily bindable property.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type
    BindableProperty

    FontSizeProperty

    Identifies the FontSize bindable property.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type
    BindableProperty

    ItalicProperty

    Identifies the Italic bindable property.

    Declaration
    public static readonly BindableProperty ItalicProperty
    Field Value
    Type
    BindableProperty

    Properties

    Bold

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

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

    Color

    Gets or sets the text color.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type
    Color

    Fill

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

    Declaration
    public Color Fill { get; set; }
    Property Value
    Type
    Color

    FontFamily

    Gets or sets the font family name.

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

    FontSize

    Gets or sets the font size, in points.

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

    Italic

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

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