Class CellElement
Serves as base class for different types of Cells.
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class CellElement : UIView
Constructors
CellElement()
Initializes a new instance of the CellElement class.
Declaration
public CellElement()
CellElement(CGRect)
Initializes a new instance of the CellElement class.
Declaration
public CellElement(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect. |
CellElement(IntPtr)
Initializes a new instance of the CellElement class.
Declaration
public CellElement(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr | The System.IntPtr. |
Properties
CanRendererUnload
Gets or sets a value indicating whether the View can be unloaded by Renderer.
Declaration
public bool CanRendererUnload { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the renderer can unload this view, otherwise false. The default is true. |
CanRenderUnLoad
Gets or sets a value indicating whether the View can be unloaded by Renderer.
Declaration
public bool CanRenderUnLoad { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the renderer can unload this view, otherwise false. The default is true. |
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
GetAutoHeight(Object)
Override method that enables the user to set a desired row height value for UserCellType columns
Declaration
protected virtual double GetAutoHeight(object rowData)
Parameters
Type | Name | Description |
---|---|---|
System.Object | rowData | Row data |
Returns
Type | Description |
---|---|
System.Double | Returns the double value indicating whether to set a desired row height value for UserCellType columns. |
GetAutoWidth(Object)
Override method that enables the user to set a desired column width value for UserCellType columns
Declaration
protected virtual double GetAutoWidth(object rowData)
Parameters
Type | Name | Description |
---|---|---|
System.Object | rowData | Row data |
Returns
Type | Description |
---|---|
System.Double | Returns the double value indicating whether to set a desired column width value for UserCellType columns. |
Load()
Called when the view is created
Declaration
protected virtual void Load()
OnCellValueChanged()
This method fires when the cell value is changed.
Declaration
public virtual void OnCellValueChanged()
UnLoad()
Called when the view is disposed
Declaration
protected virtual void UnLoad()