Back to Devexpress

FormItemBase.Text Property

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

latest1.4 KB
Original Source

FormItemBase.Text Property

Gets or sets the primary text for the form item. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public string Text { get; set; }

Property Value

TypeDescription
String

The form item’s primary text content.

|

Remarks

Specify the form item’s Detail property to add the secondary text (description).

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