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