Xamarin.iOS

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataFormEditor<EditorView>

    Show / Hide Table of Contents

    Class DataFormEditor<EditorView>

    Represent a class to handle the UIView specific initialization, wiring and un wiring.

    Inheritance
    System.Object
    DataFormEditorBase
    DataFormEditor<EditorView>
    DataFormDateEditor
    DataFormMultiLineTextEditor
    DataFormNumericEditor
    DataFormNumericUpDownEditor
    DataFormPasswordEditor
    DataFormPickerEditor
    DataFormSegmentedEditor
    DataFormSwitchEditor
    DataFormTextEditor
    DataFormTimeEditor
    Implements
    System.IDisposable
    Inherited Members
    DataFormEditorBase.Dispose()
    DataFormEditorBase.Dispose(Boolean)
    DataFormEditorBase.DataForm
    Namespace: Syncfusion.iOS.DataForm.Editors
    Assembly: Syncfusion.SfDataForm.iOS.dll
    Syntax
    public abstract class DataFormEditor<EditorView> : DataFormEditorBase, IDisposable where EditorView : UIView, new()
    Type Parameters
    Name Description
    EditorView

    Constructors

    DataFormEditor(SfDataForm)

    Initializes a new instance of the DataFormEditor<EditorView> class.

    Declaration
    public DataFormEditor(SfDataForm dataForm)
    Parameters
    Type Name Description
    SfDataForm dataForm

    The DataForm

    Methods

    OnCommitValue(EditorView)

    Commits the value of the specific editor to corresponding property in the business object.

    Declaration
    protected virtual void OnCommitValue(EditorView view)
    Parameters
    Type Name Description
    EditorView view

    the editor.

    OnCreateEditorView()

    Create and return it for DataFormItemViews sub view.

    Declaration
    protected virtual EditorView OnCreateEditorView()
    Returns
    Type Description
    EditorView

    Returns corresponding EditorView.

    OnInitializeView(DataFormItem, EditorView)

    Initialize View with DataFormItemView.DataFormItem property info.

    Declaration
    protected virtual void OnInitializeView(DataFormItem dataFormItem, EditorView view)
    Parameters
    Type Name Description
    DataFormItem dataFormItem

    The dataFormItem is property info of Editor

    EditorView view

    The UIview.

    OnLayout(EditorView, CGRect)

    Called from layout when this view should assign a size and position to each of its children.

    Declaration
    protected virtual void OnLayout(EditorView view, CGRect frame)
    Parameters
    Type Name Description
    EditorView view

    This is a new size or position for this view

    CoreGraphics.CGRect frame

    Rectangle frame value of the view

    OnUnWireEvents(EditorView)

    UnWires events for DataFormItemView's editor view.

    Declaration
    protected virtual void OnUnWireEvents(EditorView view)
    Parameters
    Type Name Description
    EditorView view

    The view to unwire the events

    OnUpdateReadOnly(DataFormItem, EditorView)

    Update value of ReadOnly property in editor's view.

    Declaration
    protected virtual void OnUpdateReadOnly(DataFormItem dataFormItem, EditorView view)
    Parameters
    Type Name Description
    DataFormItem dataFormItem

    The corresponding DataFormItem.

    EditorView view

    the editor.

    OnUpdateValue(DataFormItem, EditorView)

    Updates the value of the specific editor to corresponding property in the business object.

    Declaration
    protected virtual void OnUpdateValue(DataFormItem dataFormItem, EditorView view)
    Parameters
    Type Name Description
    DataFormItem dataFormItem

    the corresponding DataFormItem.

    EditorView view

    the editor.

    OnValidateValue(EditorView)

    Validates the value of the specific editor to corresponding property in the business object.

    Declaration
    protected virtual bool OnValidateValue(EditorView view)
    Parameters
    Type Name Description
    EditorView view

    the editor.

    Returns
    Type Description
    System.Boolean

    OnWireEvents(EditorView)

    Wires events for DataFormItemView's editor view.

    Declaration
    protected virtual void OnWireEvents(EditorView view)
    Parameters
    Type Name Description
    EditorView view

    The view to wire the events.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved