FormItemBase.DetailMaxLineCount Property
Gets or sets the maximum number of lines the detail 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 DetailMaxLineCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 | A positive integer that specifies the number of lines. |
Example
The markup below adds secondary text for a form item and configures text options :
<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