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