Skip to main content

FormItemBase.TextMaxLineCount Property

Gets or sets the maximum number of lines the text can occupy. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public int TextMaxLineCount { get; set; }

Property Value

Type Description
Int32

A positive integer that specifies the number of lines.

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