MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataFormTextStyle

    Show / Hide Table of Contents

    Class DataFormTextStyle

    Gets or sets properties which allows to customize the editor text style in the data form.

    Inheritance
    System.Object
    DataFormTextStyle
    Namespace: Syncfusion.Maui.DataForm
    Assembly: Syncfusion.Maui.DataForm.dll
    Syntax
    public class DataFormTextStyle : BindableObject, ITextElement

    Constructors

    DataFormTextStyle()

    Declaration
    public DataFormTextStyle()

    Fields

    FontAttributesProperty

    Identifies the FontAttributes dependency property.

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

    The identifier for FontAttributes dependency property.

    FontFamilyProperty

    Identifies the FontFamily dependency property.

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

    The identifier for FontFamily dependency property.

    FontSizeProperty

    Identifies the FontSize dependency property.

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

    The identifier for FontSize dependency property.

    TextColorProperty

    Identifies the TextColor dependency property.

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

    The identifier for TextColor dependency property.

    Properties

    FontAttributes

    Gets or sets the text font attributes in the data form.

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.FontAttributes

    The default value is Microsoft.Maui.Controls.FontAttributes.None.

    Remarks

    It will be applicable to all the style related properties of the SfDataForm.

    See Also
    EditorTextStyle
    LabelTextStyle
    ErrorLabelTextStyle
    ValidMessageLabelTextStyle

    FontFamily

    Gets or sets the string, that represents text font family in the data form.

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

    It will be applicable to all the style related properties of the SfDataForm.

    See Also
    EditorTextStyle
    LabelTextStyle
    ErrorLabelTextStyle
    ValidMessageLabelTextStyle

    FontSize

    Gets or sets the double value that represents text font size in the data form.

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

    It will be applicable to all the style related properties of the SfDataForm.

    See Also
    EditorTextStyle
    LabelTextStyle
    ErrorLabelTextStyle
    ValidMessageLabelTextStyle

    TextColor

    Gets or sets the editor text color in the data form.

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

    The default value is Microsoft.Maui.Graphics.Colors.Black.

    Remarks

    It will be applicable to all the style related properties of the SfDataForm.

    See Also
    EditorTextStyle
    LabelTextStyle
    ErrorLabelTextStyle
    ValidMessageLabelTextStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved