Class DataFormDateEditor
Represents a class to handle the DateTime type property editor with Xamarin.Forms.DatePicker.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.XForms.DataForm.Editors
Assembly: Syncfusion.SfDataForm.XForms.dll
Syntax
public class DataFormDateEditor : DataFormEditor<DataFormDatePicker>, IThemeElement, IDisposable
Constructors
DataFormDateEditor(SfDataForm)
Initializes a new instance of the DataFormDateEditor class.
Declaration
public DataFormDateEditor(SfDataForm dataForm)
Parameters
Type | Name | Description |
---|---|---|
SfDataForm | dataForm | The DataForm. |
Methods
OnCreateEditorView(DataFormItem)
Create and return a new instance of the Xamarin.Forms.DatePicker.
Declaration
protected override DataFormDatePicker OnCreateEditorView(DataFormItem dataFormItem)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The corresponding DataFormItem. |
Returns
Type | Description |
---|---|
DataFormDatePicker | Returns the Xamarin.Forms.DatePicker editor. |
Overrides
Syncfusion.XForms.DataForm.Editors.DataFormEditor<Syncfusion.XForms.DataForm.Editors.DataFormDatePicker>.OnCreateEditorView(Syncfusion.XForms.DataForm.DataFormItem)
OnInitializeView(DataFormItem, DataFormDatePicker)
Initialize View with DataFormItem property info.
Declaration
protected override void OnInitializeView(DataFormItem dataFormItem, DataFormDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The dataFormItem is property info of Editor. |
DataFormDatePicker | view | The UIview. |
Overrides
Syncfusion.XForms.DataForm.Editors.DataFormEditor<Syncfusion.XForms.DataForm.Editors.DataFormDatePicker>.OnInitializeView(Syncfusion.XForms.DataForm.DataFormItem, Syncfusion.XForms.DataForm.Editors.DataFormDatePicker)
OnUpdateValue(DataFormItem, DataFormDatePicker)
Updates the value of the specific editor to corresponding property in the business object.
Declaration
protected override void OnUpdateValue(DataFormItem dataFormItem, DataFormDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | the corresponding dataFormItem. |
DataFormDatePicker | view | the editor. |
Overrides
Syncfusion.XForms.DataForm.Editors.DataFormEditor<Syncfusion.XForms.DataForm.Editors.DataFormDatePicker>.OnUpdateValue(Syncfusion.XForms.DataForm.DataFormItem, Syncfusion.XForms.DataForm.Editors.DataFormDatePicker)
Implements
System.IDisposable