Skip to main content

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

public string Text { get; set; }

Property Value

Type Description
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:

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