EditBase.HelpTextColor Property
Specifies the color of the help text shown below the edit box.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public Color HelpTextColor { get; set; }
Property Value
Type | Description |
---|---|
Color | Help text color. |
Remarks
HelpTextColor specifies the color of HelpText in an editor’s focused and unfocused states.
To specify the help text color for an editor’s disabled state, use the DisabledHelpTextColor property.
You can also use the following properties to configure the help text appearance:
Property | Description |
---|---|
BottomTextFontSize | Configure font settings. |
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 |
<dxe:TextEdit BottomTextFontAttributes="Bold"
BottomTextFontSize="18"
BottomTextTopIndent="20"
HelpText="Bottom text"
HelpTextColor="Green"
DisabledHelpTextColor="LightGreen"
ErrorColor="Brown"
ErrorText="Error text"/>