Class GridItemPropertiesProvider
Implements ItemPropertiesProvider to get / set value on the underlying object which is used by CollectionViewAdv.
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public class GridItemPropertiesProvider : ItemPropertiesProvider, IPropertyAccessProvider, IDisposable
Constructors
GridItemPropertiesProvider(ICollectionViewAdv, SfDataGrid)
Initializes a new instance of the GridItemPropertiesProvider class.
Declaration
public GridItemPropertiesProvider(ICollectionViewAdv view, SfDataGrid grid)
Parameters
Type | Name | Description |
---|---|---|
ICollectionViewAdv | view | The View representing the underlying collection of the datagrid. |
SfDataGrid | grid | The reference of the SfDataGrid. |
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool isDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isDisposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
Overrides
GetDisplayValue(Object, String, Boolean)
Gets the display value of particular property for the specified record and property name.
Declaration
public override object GetDisplayValue(object record, string propName, bool canUseBindingReflection)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The corresponding record to get formatted value. |
System.String | propName | The corresponding property name to get formatted value. |
System.Boolean | canUseBindingReflection | If true then use Binding reflection to get the display value |
Returns
Type | Description |
---|---|
System.Object | Returns the display value of particular property based on the specified record and property name. |