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.FocusedLabelColor Property

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

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

#Declaration

C#
public Color FocusedLabelColor { 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 an unfocused or disabled state, use theLabelColor or DisabledLabelColor properties.

#Example

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

State

Appearance

Unfocused

DevExpress MAUI TextEdit - Unfocused Label

Focused

DevExpress MAUI TextEdit - Focused Label

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