Class DataFormSegmentedEditor
Represents a class to handle the enum type property editor with UISegmenenedControl.
Implements
Inherited Members
Namespace: Syncfusion.Android.DataForm.Editors
Assembly: Syncfusion.SfDataForm.Android.dll
Syntax
public class DataFormSegmentedEditor : DataFormEditor<RadioGroup>, IDisposable
Constructors
DataFormSegmentedEditor(SfDataForm)
Initializes a new instance of the DataFormSegmentedEditor.
Declaration
public DataFormSegmentedEditor(SfDataForm dataForm)
Parameters
Type | Name | Description |
---|---|---|
SfDataForm | dataForm |
Methods
OnCommitValue(RadioGroup)
Commits the value of the specific editor to corresponding property in the business object.
Declaration
protected override void OnCommitValue(RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
Android.Widget.RadioGroup | view | the editor. |
Overrides
OnCreateEditorView()
Create and return a new instance of the Android.Widget.RadioGroup.
Declaration
protected override RadioGroup OnCreateEditorView()
Returns
Type | Description |
---|---|
Android.Widget.RadioGroup | Returns the Android.Widget.RadioGroup editor. |
Overrides
OnInitializeView(DataFormItem, RadioGroup)
Initialize View with DataFormItem property info.
Declaration
protected override void OnInitializeView(DataFormItem dataFormItem, RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The dataFormItem is property info of Editor |
Android.Widget.RadioGroup | view | The UIview. |
Overrides
OnUnWireEvents(RadioGroup)
UnWires events for DataFormItemView's editor view.
Declaration
protected override void OnUnWireEvents(RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
Android.Widget.RadioGroup | view | The view to unwire the events |
Overrides
OnUpdateReadOnly(DataFormItem, RadioGroup)
Update the IsEnabled property in runtime whether to allow user to edit or not.
Declaration
protected override void OnUpdateReadOnly(DataFormItem dataFormItem, RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The corresponding DataFormItem |
Android.Widget.RadioGroup | view | The UIView |
Overrides
OnUpdateValue(DataFormItem, RadioGroup)
Declaration
protected override void OnUpdateValue(DataFormItem dataFormItem, RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | |
Android.Widget.RadioGroup | view |
Overrides
OnValidateValue(RadioGroup)
Validates the value of the specific editor to corresponding property in the business object.
Declaration
protected override bool OnValidateValue(RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
Android.Widget.RadioGroup | view | the editor. |
Returns
Type |
---|
System.Boolean |
Overrides
OnWireEvents(RadioGroup)
Wires events for DataFormItemView's editor view.
Declaration
protected override void OnWireEvents(RadioGroup view)
Parameters
Type | Name | Description |
---|---|---|
Android.Widget.RadioGroup | view | The view to wire the events. |