Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EditBase.BottomTextFontAttributes Property

Gets or sets whether the editor’s help and error text is bold or italic. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public FontAttributes BottomTextFontAttributes { get; set; }

#Property Value

Type Default Description
FontAttributes None

The font attributes.

#Remarks

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

HelpTextColor
DisabledHelpTextColor

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

ErrorColor

Gets or sets the error message text color.

BottomTextFontSize
BottomTextFontFamily

Configure the font settings for text displayed below the editor.

ReserveBottomTextLine

Specify whether to reserve a text line to display an 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

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