Back to Devexpress

EditBase.DisabledLabelColor Property

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

latest1.8 KB
Original Source

EditBase.DisabledLabelColor Property

Gets or sets the text color for the label of the editor in a disabled state. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public Color DisabledLabelColor { get; set; }

Property Value

TypeDescription
Color

The color of the label text.

|

Remarks

To specify the text color for the label of the editor in an unfocused or focused state, use the LabelColor or FocusedLabelColor properties.

Example

This example shows how to change the label text color and adjust font settings:

|

State

|

Appearance

| | --- | --- | |

Unfocused

|

| |

Focused

|

|

xml
<dxe:TextEdit IsLabelFloating="False"
              LabelText="Login"
              LabelColor="#404040"
              LabelFontSize="20"
              FocusedLabelColor="#404040"
              BorderColor=" #fe7c00"
              FocusedBorderColor="#a5a5a5"/>

See Also

EditBase Class

EditBase Members

DevExpress.Maui.Editors Namespace