Class DataFormTextEditorItem
Represents the base class that encapsulates the layout and text editor setting for a data field.
Inheritance
Inherited Members
Namespace: Syncfusion.Maui.DataForm
Assembly: Syncfusion.Maui.DataForm.dll
Syntax
public abstract class DataFormTextEditorItem : DataFormItem, IThemeElement
Constructors
DataFormTextEditorItem()
Declaration
protected DataFormTextEditorItem()
Fields
KeyboardProperty
Identifies the Keyboard dependency property.
Declaration
public static readonly BindableProperty KeyboardProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Keyboard dependency property. |
MaxLengthProperty
Identifies the MaxLength dependency property.
Declaration
public static readonly BindableProperty MaxLengthProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for MaxLength dependency property. |
Properties
Keyboard
Gets or sets the type of keyboard used to display in the text, multiline and password editor.
Declaration
public Keyboard Keyboard { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Keyboard | The default value is |
Examples
The below examples shows, how to set the Keyboard property of DataFormTextItem in the SfDataForm.
MaxLength
Gets or sets the maximum allowed length of input.
Declaration
public int MaxLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer in the interval [0,int.MaxValue]. The default value is Int.MaxValue. |
Remarks
The MaxLength property is applicable only for DataFormTextItem, DataFormMultilineItem and DataFormPasswordItem.