menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridColumn - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridColumn

    Represents a class that provides the base functionalities for all the column types in SfDataGrid.

    Inheritance
    System.Object
    SfGridColumnBase<TableControl>
    GridColumnBase
    GridColumn
    GridButtonColumn
    GridCheckBoxColumn
    GridComboBoxColumn
    GridDateTimeColumn
    GridHyperlinkColumn
    GridImageColumn
    GridMaskColumn
    GridMultiSelectComboBoxColumn
    GridNumericColumn
    GridProgressBarColumn
    GridTextColumn
    GridUnboundColumn
    Implements
    System.IDisposable
    IFilterDefinition
    Inherited Members
    GridColumnBase.ActualWidth
    GridColumnBase.AdvancedFilterType
    GridColumnBase.AllowBlankFilters
    GridColumnBase.AllowDragging
    GridColumnBase.AllowEditing
    GridColumnBase.AllowFiltering
    GridColumnBase.AllowFocus
    GridColumnBase.AllowGrouping
    GridColumnBase.AllowHeaderTextWithImage
    GridColumnBase.AllowHeaderTextWrapping
    GridColumnBase.AllowResizing
    GridColumnBase.AllowSorting
    GridColumnBase.AllowTextWrapping
    GridColumnBase.AutoSizeColumnsMode
    GridColumnBase.CellStyle
    GridColumnBase.ColumnMemberType
    GridColumnBase.Dispose(Boolean)
    GridColumnBase.EnableCaseSensitiveFilterRow
    GridColumnBase.EnableCaseSensitiveFiterRow
    GridColumnBase.FilterBehavior
    GridColumnBase.FilteredFrom
    GridColumnBase.FilterMode
    GridColumnBase.FilterPopupMode
    GridColumnBase.FilterPredicates
    GridColumnBase.FilterRowCondition
    GridColumnBase.FilterRowEditorType
    GridColumnBase.FilterRowText
    GridColumnBase.Format
    GridColumnBase.FormatProvider
    GridColumnBase.GetFormattedValue(Object, Object)
    GridColumnBase.GroupMode
    GridColumnBase.HeaderImage
    GridColumnBase.HeaderStyle
    GridColumnBase.HeaderText
    GridColumnBase.HeaderTextImageRelation
    GridColumnBase.ImmediateUpdateColumnFilter
    GridColumnBase.IsAutoGenerated
    GridColumnBase.MappingName
    GridColumnBase.MaximumWidth
    GridColumnBase.MinimumWidth
    GridColumnBase.NullDisplayText
    GridColumnBase.ShowFilterRowOptions
    GridColumnBase.ShowHeaderToolTip
    GridColumnBase.ShowToolTip
    GridColumnBase.SortMode
    GridColumnBase.TextTrimming
    GridColumnBase.ValidationMode
    GridColumnBase.Visible
    GridColumnBase.Width
    SfGridColumnBase<TableControl>.Dispose()
    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
    IFilterDefinition
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved