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