maui-devexpress-dot-maui-dot-editors-dot-editbase-c583f2b6.md
Gets or sets the font family name for the editor’s help and error text. This is a bindable property.
Namespace : DevExpress.Maui.Editors
Assembly : DevExpress.Maui.Editors.dll
NuGet Package : DevExpress.Maui.Editors
public string BottomTextFontFamily { get; set; }
| Type | Description |
|---|---|
| String |
The font family name.
|
You can display HelpText or ErrorText (if the HasError property is true) below an editor. Note that changes to the BottomTextFontFamily property affect both HelpText and ErrorText.
To apply a custom font, add the font file to your solution, and then assign it to the editor’s BottomTextFontFamily property.
This example shows how to apply the Verdana font.
Add the font file to your platform-specific projects:
In the App.xaml file, add the following lines to the ResourceDictionary section:
Set the BottomTextFontFamily property to the key defined for the custom font:
Note
The BottomTextFontAttributes property affects the default font only. If you need to apply a bold or an italic custom font, use the corresponding font style file as described above.
You can also use the following properties to configure the help/error text appearance in different states:
|
Property
|
Description
| | --- | --- | |
BottomTextFontAttributes
BottomTextFontSize
|
Configure the font settings for text displayed below the editor.
| |
HelpTextColor
DisabledHelpTextColor
|
Specify the help text color for different states of an editor.
| |
|
Gets or sets the error message text color.
| |
|
Gets or sets whether to reserve a line to display error text.
| |
|
Sets the distance between the editor’s help or error text and its bottom border.
|
See Also