FormItemBase.TextFontFamily Property
Gets or sets the font family that the form item applies for its Text. This is a bindable property.
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
Declaration
public string TextFontFamily { get; set; }
Property Value
Type | Description |
---|---|
String | The font family name. |
Remarks
You can only use fonts previously registered in the app. For more information, refer to the following page: Register Fonts.
Example
The markup below adds a text header to a form item and specifies text settings:
<dxe:FormItem Text="Brightness level"
TextColor="Gray"
TextFontAttributes="Bold"
TextFontFamily="OpenSansRegular"
TextFontSize="18"
TextLineBreakMode="CharacterWrap"
TextMargin="4"
TextMaxLineCount="2"/>
See Also