WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • 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.GetFormattedValue(Object, Object)
    GridColumnBase.Dispose(Boolean)
    GridColumnBase.AllowTextWrapping
    GridColumnBase.TextTrimming
    GridColumnBase.AllowHeaderTextWrapping
    GridColumnBase.ShowToolTip
    GridColumnBase.ShowHeaderToolTip
    GridColumnBase.AllowGrouping
    GridColumnBase.AllowDragging
    GridColumnBase.CellStyle
    GridColumnBase.AllowFiltering
    GridColumnBase.AllowResizing
    GridColumnBase.Visible
    GridColumnBase.AllowFocus
    GridColumnBase.HeaderStyle
    GridColumnBase.Width
    GridColumnBase.HeaderText
    GridColumnBase.AllowSorting
    GridColumnBase.IsAutoGenerated
    GridColumnBase.MappingName
    GridColumnBase.AutoSizeColumnsMode
    GridColumnBase.ActualWidth
    GridColumnBase.MinimumWidth
    GridColumnBase.MaximumWidth
    GridColumnBase.FilterMode
    GridColumnBase.ColumnMemberType
    GridColumnBase.FilterBehavior
    GridColumnBase.FilteredFrom
    GridColumnBase.ImmediateUpdateColumnFilter
    GridColumnBase.AllowBlankFilters
    GridColumnBase.FilterPopupMode
    GridColumnBase.AdvancedFilterType
    GridColumnBase.FilterPredicates
    GridColumnBase.Format
    GridColumnBase.FormatProvider
    GridColumnBase.NullDisplayText
    GridColumnBase.GroupMode
    GridColumnBase.SortMode
    GridColumnBase.AllowEditing
    GridColumnBase.ValidationMode
    GridColumnBase.FilterRowEditorType
    GridColumnBase.FilterRowCondition
    GridColumnBase.ShowFilterRowOptions
    GridColumnBase.FilterRowText
    GridColumnBase.EnableCaseSensitiveFilterRow
    GridColumnBase.EnableCaseSensitiveFiterRow
    GridColumnBase.HeaderImage
    GridColumnBase.AllowHeaderTextWithImage
    GridColumnBase.HeaderTextImageRelation
    SfGridColumnBase<TableControl>.Dispose()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    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 - 2022 Syncfusion Inc. All Rights Reserved