Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataFormItemBase

    Show / Hide Table of Contents

    Class DataFormItemBase

    Represents the base class that encapsulates the layout, group and editor setting for a data fields appearing in SfDataForm.

    Inheritance
    System.Object
    DataFormItemBase
    DataFormGroupItem
    DataFormItem
    Implements
    System.IDisposable
    Namespace: Syncfusion.iOS.DataForm
    Assembly: Syncfusion.SfDataForm.iOS.dll
    Syntax
    public abstract class DataFormItemBase : Object, IDisposable

    Constructors

    DataFormItemBase()

    Declaration
    protected DataFormItemBase()

    Properties

    AutoFitLabel

    Gets or sets a value indicating whether the label is automatically resized to display its entire contents.

    Declaration
    public bool AutoFitLabel { get; set; }
    Property Value
    Type Description
    System.Boolean

    ColumnSpan

    Gets or sets the value that decides the width of the item.

    Declaration
    public int ColumnSpan { get; set; }
    Property Value
    Type Description
    System.Int32

    Height

    Gets or sets the height of the DataFormItem.

    Declaration
    public int Height { get; set; }
    Property Value
    Type Description
    System.Int32

    IsGroup

    Gets a value indicating whether the DataFormItemBase is group (DataFormGroupItem) or not.

    Declaration
    public bool IsGroup { get; }
    Property Value
    Type Description
    System.Boolean

    IsVisible

    Gets or sets a value indicating whether to show the data field for editing in SfDataForm.

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    System.Boolean

    ItemManager

    Gets the DataFormItemManager which creates DataFormItem's for for the date fileds appearing in SfDataForm.

    Declaration
    public DataFormItemManager ItemManager { get; }
    Property Value
    Type Description
    DataFormItemManager

    RowSpan

    Gets or sets a value that decides the height of the item.

    Declaration
    public int RowSpan { get; set; }
    Property Value
    Type Description
    System.Int32

    View

    Gets a value that indicates the rendering item in view.

    Declaration
    public DataFormItemViewBase View { get; }
    Property Value
    Type Description
    DataFormItemViewBase

    Methods

    CanFocus()

    Returns a value that indicates whether the editor loaded for data field allows focus when navigating by keyboard Go action.

    Declaration
    protected virtual bool CanFocus()
    Returns
    Type Description
    System.Boolean

    Return true to set the focus to editor.

    Dispose()

    Disposes all the resources used by the DataFormItemBase.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the DataFormItemBase.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

    Indicates whether the call is from Dispose method or from a finalizer.

    Implements

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