Class DataFormItemBase
Represents the base class that encapsulates the layout, group and editor setting for a data fields appearing in SfDataForm.
Implements
Namespace: Syncfusion.Android.DataForm
Assembly: Syncfusion.SfDataForm.Android.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 |
---|
System.Boolean |
ColumnSpan
Gets or sets the value that decides the width of the item.
Declaration
public int ColumnSpan { get; set; }
Property Value
Type |
---|
System.Int32 |
Height
Gets or sets the height of the DataFormItem.
Declaration
public int Height { get; set; }
Property Value
Type |
---|
System.Int32 |
IsGroup
Gets a value indicating whether the DataFormItemBase is group (DataFormGroupItem) or not.
Declaration
public bool IsGroup { get; }
Property Value
Type |
---|
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 |
---|
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 |
---|
DataFormItemManager |
RowSpan
Gets or sets a value that decides the height of the item.
Declaration
public int RowSpan { get; set; }
Property Value
Type |
---|
System.Int32 |
View
Gets a value that indicates the rendering item in view.
Declaration
public DataFormItemViewBase View { get; }
Property Value
Type |
---|
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 |
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. |