EditBase.LabelFontSize Property
Gets or sets the font size of the editor’s label text. This is a bindable property.
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
#Declaration
[TypeConverter(typeof(FontSizeConverter))]
public double LabelFontSize { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Double | 0 | The label’s font size. |
#Remarks
Use the LabelFontSize property to specify the font size for a label displayed near the top of the editor box.
The label’s font family and attributes depend on the editor’s TextFontFamily and TextFontAttributes 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"/>