Skip to main content

EditBase.TextFontSize Property

Gets or sets the font size of text entered into the editor. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

[TypeConverter(typeof(FontSizeConverter))]
public double TextFontSize { get; set; }

Property Value

Type Default Description
Double 0

The input text font size.

Remarks

You can also use the TextFontAttributes and TextFontFamily properties to customize the editor’s text font, TextColor and DisabledTextColor to change the text color, and TextHorizontalAlignment to align the text within the editor box.

Example

This example shows how to change the input text color and adjust font settings:

DevExpress MAUI TextEdit - Darkorange Italic Centered Text

<dxe:TextEdit Text="Input text"
              TextColor="DarkOrange"
              TextFontAttributes="Italic"
              TextFontSize="25"
              TextHorizontalAlignment="Center"/>
See Also