Class GridColumn
Represents a class that provides the base functionalities for all the column types in SfDataGrid.
Inheritance
System.Object
GridColumn
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.WinForms.DataGrid
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GridColumn : GridColumnBase, IDisposable, IFilterDefinition
Constructors
GridColumn()
Declaration
public GridColumn()
Properties
CellType
Gets the cell type of the column.
Declaration
[Cloneable(true)]
public string CellType { get; }
Property Value
Type |
---|
System.String |
Renderer
Gets or sets the instance of IGridCellRenderer<T> which provides the functionality of cell renderers.
Declaration
[Cloneable(true)]
public IGridCellRenderer<TableControl> Renderer { get; set; }
Property Value
Type | Description |
---|---|
IGridCellRenderer<TableControl> | An instance of IGridCellRenderer<T>. |
TableControl
Gets the table control of the column.
Declaration
[Cloneable(false)]
protected TableControl TableControl { get; }
Property Value
Type |
---|
TableControl |
Methods
SetCellType(String)
Sets the cell type which indicates the renderer for the column.
Declaration
protected void SetCellType(string cellType)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellType | Specifies the corresponding cell type of the column. |
ToString()
Overriden to return the string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Returns the string respresentation of the object. |
Overrides
System.Object.ToString()
Implements
System.IDisposable