Back to Devexpress

EditBase.BottomTextFontSize Property

maui-devexpress-dot-maui-dot-editors-dot-editbase-b8079047.md

latest3.7 KB
Original Source

EditBase.BottomTextFontSize Property

Gets or sets the font size of 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

Declaration

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

Property Value

TypeDefaultDescription
Double0

The help and error text font size.

|

Remarks

You can display HelpText or ErrorText (if the HasError property is true) below an editor. Note that changes to the BottomTextFontSize property affect both HelpText and ErrorText.

You can also use the following properties to configure the help/error text appearance in different states:

|

Property

|

Description

| | --- | --- | |

BottomTextFontAttributes
BottomTextFontFamily

|

Configure the font settings for text displayed below the editor.

| |

HelpTextColor
DisabledHelpTextColor

|

Specify the help text color for different states of an editor.

| |

ErrorColor

|

Gets or sets the error message text color.

| |

ReserveBottomTextLine

|

Gets or sets whether to reserve a line to display error text.

| |

BottomTextTopIndent

|

Sets the distance between the editor’s help or error text and its bottom border.

|

Example

This example shows how to customize the appearance of an editor’s help/error text:

|

State/Appearance

|

Default

|

Custom

| | --- | --- | --- | |

Default

|

|

| |

Disabled

|

|

| |

Error

|

|

|

xml
<dxe:TextEdit BottomTextFontAttributes="Bold"
              BottomTextFontSize="18"
              BottomTextTopIndent="20"
              HelpText="Bottom text"
              HelpTextColor="Green"
              DisabledHelpTextColor="LightGreen"
              ErrorColor="Brown"
              ErrorText="Error text"/>

See Also

EditBase Class

EditBase Members

DevExpress.Maui.Editors Namespace