EditBase.TextFontAttributes Property
Gets or sets the font style that the editor uses for input text, label and placeholder. This is a bindable property.
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
#Declaration
public FontAttributes TextFontAttributes { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Font |
None | The font attributes. |
#Remarks
For the editor’s input text, you can also use TextFontSize and TextFontFamily properties to change the text size and font, TextColor and DisabledTextColor to specify the text color, and TextHorizontalAlignment to align the text within the editor box.
Note
The Text
#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"/>