Back to Devexpress

FormItemBase.DetailFontFamily Property

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

latest1.6 KB
Original Source

FormItemBase.DetailFontFamily Property

Gets or sets the font family that the form item applies to its Detail. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public string DetailFontFamily { get; set; }

Property Value

TypeDescription
String

A string that specifies the font family.

|

Remarks

You can only use fonts registered in the app. For more information, refer to the following page: Register Fonts.

Example

The markup below adds secondary text for a form item and configures text options :

xaml
<dxe:FormItem Detail="The reading mode adjusts colors and
              textures in order to reduce eye strain."
              DetailColor="LightGray"
              DetailFontAttributes="Italic"
              DetailFontFamily="OpenSansRegular"
              DetailFontSize="14"
              DetailLineBreakMode="TailTruncation"
              DetailMargin="4"
              DetailMaxLineCount="2"/>

See Also

FormItemBase Class

FormItemBase Members

DevExpress.Maui.Editors Namespace