Skip to main content

EditBase.LabelColor Property

Gets or sets the text color for the label of the editor in an unfocused state.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public Color LabelColor { get; set; }

Property Value

Type Description
Color

The color of the label text.

Remarks

To specify the text color for the label of the editor in a focused or disabled state, use the FocusedLabelColor and DisabledLabelColor properties.

Example

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

State

Appearance

Unfocused

Focused

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