Skip to main content

EditBase.BottomTextTopIndent Property

Gets or sets the distance between the editor’s bottom border and help/error text. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public double BottomTextTopIndent { get; set; }

Property Value

Type Default Description
Double 0

The help/error text indent.

Remarks

You can display HelpText or ErrorText (if the HasError property is true) below an editor. Note that changes to the BottomTextTopIndent 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.

Example

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

State/Appearance

Default

Custom

Default

DevExpress MAUI TextEdit - BottomText Default

DevExpress MAUI TextEdit - BottomText

Disabled

DevExpress MAUI TextEdit - BottomText Disabled Default

DevExpress MAUI TextEdit - BottomText Disabled

Error

DevExpress MAUI TextEdit - BottomText Error Default

DevExpress MAUI TextEdit - BottomText Error

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