Back to Devexpress

EditBase.DisabledHelpTextColor Property

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

latest3.5 KB
Original Source

EditBase.DisabledHelpTextColor Property

Gets or sets the color of the help text shown below the disabled editor. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public Color DisabledHelpTextColor { get; set; }

Property Value

TypeDescription
Color

The help text color.

|

Remarks

DisabledHelpTextColor specifies HelpText color when an editor is in a disabled state. To disable an editor, set its IsEnabled property to false.

To specify the help text color for an editor’s focused and unfocused states, use the HelpTextColor property.

You can also use the following properties to configure the help text appearance:

|

Property

|

Description

| | --- | --- | |

BottomTextFontSize
BottomTextFontFamily
BottomTextFontAttributes

|

Configure font settings.

| |

BottomTextTopIndent

|

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

|

These properties also affect ErrorText. To set the color of the error message, editor borders, label, and error icon, use the ErrorColor property.

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