Skip to main content
A newer version of this page is available. .

EditBase.TextFontSize Property

Gets or sets the font size of text entered into the editor.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

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

Property Value

Type Description
Double

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:

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