Class DataFormItemManager
Represents a class that creates DataFormItems collection and item properties
Inheritance
System.Object
DataFormItemManager
Implements
System.IDisposable
Namespace: Syncfusion.iOS.DataForm
Assembly: Syncfusion.SfDataForm.iOS.dll
Syntax
public class DataFormItemManager : Object, IDisposable
Constructors
DataFormItemManager(SfDataForm)
Initializes a new instance of the DataFormItemManager class.
Declaration
public DataFormItemManager(SfDataForm dataForm)
Parameters
Type | Name | Description |
---|---|---|
SfDataForm | dataForm | The data form. |
Properties
DataFormItems
Gets the list contains the underlying properties as DataFormItems.
Declaration
public DataFormItems DataFormItems { get; }
Property Value
Type |
---|
DataFormItems |
Methods
Dispose()
Disposes all the resources used by the ItemManager class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the ItemManager class.
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. |
GenerateDataFormItems(PropertyDescriptorCollection, List<DataFormItemBase>)
Generates DataFormItems from PropertyInfoCollection.
Declaration
protected virtual List<DataFormItemBase> GenerateDataFormItems(PropertyDescriptorCollection itemProperties, List<DataFormItemBase> dataFormItems)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.PropertyDescriptorCollection | itemProperties | the item properties. |
System.Collections.Generic.List<DataFormItemBase> | dataFormItems | list of data form items. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<DataFormItemBase> | list of generated data form items |
GetValue(DataFormItem)
Gets a value for property.
Declaration
public virtual object GetValue(DataFormItem dataFormItem)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The DataFormItem to get a value. |
Returns
Type | Description |
---|---|
System.Object | Returns value. |
SetValue(DataFormItem, Object)
Sets a value to property.
Declaration
public virtual void SetValue(DataFormItem dataFormItem, object value)
Parameters
Type | Name | Description |
---|---|---|
DataFormItem | dataFormItem | The DataFormItem to get a value. |
System.Object | value | The value to be set. |
Implements
System.IDisposable