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