Class DataFormDateEditor
Represents a class to handle the DateTime type property editor with SfDatePicker.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Android.DataForm.Editors
Assembly: Syncfusion.SfDataForm.Android.dll
Syntax
public class DataFormDateEditor : DataFormEditor<SfDatePicker>, IDisposable
Constructors
DataFormDateEditor(SfDataForm)
Initializes a new instance of the DataFormDateEditor class.
Declaration
public DataFormDateEditor(SfDataForm dataForm)
Parameters
Type | Name | Description |
---|---|---|
SfDataForm | dataForm |
Methods
OnCommitValue(SfDatePicker)
Commits the value of the specific editor to corresponding property in the business object.
Declaration
protected override void OnCommitValue(SfDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
SfDatePicker | view | the editor. |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnCommitValue(Syncfusion.Android.DataForm.Editors.SfDatePicker)
OnCreateEditorView()
Create and return a new instance of the SfDatePicker.
Declaration
protected override SfDatePicker OnCreateEditorView()
Returns
Type | Description |
---|---|
SfDatePicker | Returns the SfDatePicker editor. |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnCreateEditorView()
OnInitializeView(DataFormItem, SfDatePicker)
Initialize View with DataFormItem property info.
Declaration
protected override void OnInitializeView(DataFormItem dataFormItem, SfDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The dataFormItem is property info of Editor |
SfDatePicker | view | The UIview. |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnInitializeView(Syncfusion.Android.DataForm.DataFormItem, Syncfusion.Android.DataForm.Editors.SfDatePicker)
OnUnWireEvents(SfDatePicker)
UnWires events for DataFormItemView's editor view.
Declaration
protected override void OnUnWireEvents(SfDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
SfDatePicker | view | The view to unwire the events |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnUnWireEvents(Syncfusion.Android.DataForm.Editors.SfDatePicker)
OnUpdateValue(DataFormItem, SfDatePicker)
Declaration
protected override void OnUpdateValue(DataFormItem dataFormItem, SfDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | |
SfDatePicker | view |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnUpdateValue(Syncfusion.Android.DataForm.DataFormItem, Syncfusion.Android.DataForm.Editors.SfDatePicker)
OnValidateValue(SfDatePicker)
Validates the value of the specific editor to corresponding property in the business object.
Declaration
protected override bool OnValidateValue(SfDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
SfDatePicker | view | the editor. |
Returns
Type |
---|
System.Boolean |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnValidateValue(Syncfusion.Android.DataForm.Editors.SfDatePicker)
OnWireEvents(SfDatePicker)
Wires events for DataFormItemView's editor view.
Declaration
protected override void OnWireEvents(SfDatePicker view)
Parameters
Type | Name | Description |
---|---|---|
SfDatePicker | view | The view to wire the events. |
Overrides
Syncfusion.Android.DataForm.Editors.DataFormEditor<Syncfusion.Android.DataForm.Editors.SfDatePicker>.OnWireEvents(Syncfusion.Android.DataForm.Editors.SfDatePicker)
Implements
System.IDisposable