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