Back to Devexpress

FormItemBase.TextColor Property

maui-devexpress-dot-maui-dot-editors-dot-formitembase-7af58bf2.md

latest1.2 KB
Original Source

FormItemBase.TextColor Property

Gets or sets the form item Text color. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public Color TextColor { get; set; }

Property Value

TypeDescription
Color

Specifies the Text color.

|

Example

The markup below adds a text header to a form item and specifies text settings:

xaml
<dxe:FormItem Text="Brightness level"
              TextColor="Gray"
              TextFontAttributes="Bold"
              TextFontFamily="OpenSansRegular"
              TextFontSize="18"
              TextLineBreakMode="CharacterWrap"
              TextMargin="4"
              TextMaxLineCount="2"/>

See Also

FormItemBase Class

FormItemBase Members

DevExpress.Maui.Editors Namespace