Back to Devexpress

FormItemBase.TextFontSize Property

maui-devexpress-dot-maui-dot-editors-dot-formitembase-f212a5b3.md

latest1.3 KB
Original Source

FormItemBase.TextFontSize Property

Gets or sets the font size for the detail text. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
[TypeConverter(typeof(FontSizeConverter))]
public double TextFontSize { get; set; }

Property Value

TypeDescription
Double

The font size.

|

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