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