Class GridCell
Represents a record cell in a SfDataGrid control.
Inheritance
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class GridCell : CellElement
Constructors
GridCell()
Initializes a new instance of the GridCell class.
Declaration
public GridCell()
GridCell(CGRect)
Initializes a new instance of the GridCell class.
Declaration
public GridCell(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect. |
GridCell(IntPtr)
Initializes a new instance of the GridCell class.
Declaration
public GridCell(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr | The System.IntPtr. |
Properties
DataColumn
Gets the data column associated with the grid cell which contains the details of the column.
Declaration
public DataColumnBase DataColumn { get; }
Property Value
Type | Description |
---|---|
Syncfusion.SfDataGrid.DataColumnBase | An object that represents the Syncfusion.SfDataGrid.DataColumn associated with the GridCell, which contains the details of the column. |
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. |
Overrides
Draw(CGRect)
Draws the view within the passed-in rectangle.
Declaration
public override void Draw(CGRect rect)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGRect | rect | The CoreGraphics.CGRect in which the view should be drawn. |
LayoutSubviews()
Layouts the children in the view.
Declaration
public override void LayoutSubviews()
ShouldValidateLabelProperties()
Gets a boolean value indicating whether to set padding for child view or not.
Declaration
protected virtual bool ShouldValidateLabelProperties()
Returns
Type | Description |
---|---|
System.Boolean | Return a boolean value indicating whether to set padding for child view or not. |