Interface IDataFormEditor
Represent the class interface that provide method to create editor for data field and handles commit and validation for custom editor.
Namespace: Syncfusion.Maui.DataForm
Assembly: Syncfusion.Maui.DataForm.dll
Syntax
public interface IDataFormEditor
Methods
CommitValue(DataFormItem, View)
Commits the value of the specific editor to corresponding property in the business object.
Declaration
void CommitValue(DataFormItem dataFormItem, View view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The data form item. |
Microsoft.Maui.Controls.View | view | The editor view. |
CreateEditorView(DataFormItem)
Creates the editor view for corresponding data form item.
Declaration
View CreateEditorView(DataFormItem dataFormItem)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The data form item. |
Returns
Type | Description |
---|---|
Microsoft.Maui.Controls.View | Returns corresponding EditorView. |
UpdateReadyOnly(DataFormItem)
Updates the editor value based on read only property value.
Declaration
void UpdateReadyOnly(DataFormItem dataFormItem)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The data form item. |