Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Expand]Common Features
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.DataAccess.UI.Design
  [Expand]DevExpress.DataAccess.UI.EntityFramework
  [Expand]DevExpress.DataAccess.UI.Excel
  [Expand]DevExpress.DataAccess.UI.Localization
  [Expand]DevExpress.DataAccess.UI.ObjectBinding
  [Expand]DevExpress.DataAccess.UI.Sql
  [Expand]DevExpress.DataAccess.UI.Wizard
  [Expand]DevExpress.DataAccess.UI.Wizard.Services
  [Expand]DevExpress.DataAccess.UI.Wizard.Views
  [Expand]DevExpress.DocumentView
  [Expand]DevExpress.DocumentView.Controls
  [Expand]DevExpress.LookAndFeel
  [Expand]DevExpress.LookAndFeel.Helpers
  [Expand]DevExpress.Skins
  [Expand]DevExpress.Snap
  [Expand]DevExpress.Snap.API.Native
  [Expand]DevExpress.Snap.Core
  [Expand]DevExpress.Snap.Core.API
  [Expand]DevExpress.Snap.Core.Fields
  [Expand]DevExpress.Snap.Core.Forms
  [Expand]DevExpress.Snap.Core.Options
  [Expand]DevExpress.Snap.Core.Services
  [Expand]DevExpress.Snap.Extensions
  [Expand]DevExpress.Snap.Extensions.Localization
  [Expand]DevExpress.Snap.Localization
  [Expand]DevExpress.Snap.Options
  [Expand]DevExpress.Snap.Services
  [Expand]DevExpress.Utils
  [Expand]DevExpress.Utils.Animation
  [Expand]DevExpress.Utils.Controls
  [Expand]DevExpress.Utils.Drawing
  [Expand]DevExpress.Utils.Menu
  [Expand]DevExpress.Utils.Taskbar
  [Expand]DevExpress.Utils.Taskbar.Core
  [Expand]DevExpress.Utils.UI.Localization
  [Expand]DevExpress.Utils.VisualEffects
  [Expand]DevExpress.Utils.Win
  [Expand]DevExpress.XtraBars
  [Expand]DevExpress.XtraBars.Alerter
  [Expand]DevExpress.XtraBars.Docking
  [Expand]DevExpress.XtraBars.Docking2010
  [Expand]DevExpress.XtraBars.Docking2010.Customization
  [Expand]DevExpress.XtraBars.Docking2010.Views
  [Expand]DevExpress.XtraBars.Docking2010.Views.NativeMdi
  [Expand]DevExpress.XtraBars.Docking2010.Views.Tabbed
  [Expand]DevExpress.XtraBars.Docking2010.Views.Widget
  [Expand]DevExpress.XtraBars.Docking2010.Views.WindowsUI
  [Expand]DevExpress.XtraBars.Localization
  [Expand]DevExpress.XtraBars.Navigation
  [Expand]DevExpress.XtraBars.Ribbon
  [Expand]DevExpress.XtraBars.Ribbon.Gallery
  [Expand]DevExpress.XtraBars.Ribbon.ViewInfo
  [Expand]DevExpress.XtraBars.ToastNotifications
  [Expand]DevExpress.XtraBars.Utils
  [Expand]DevExpress.XtraBars.WinRTLiveTiles
  [Expand]DevExpress.XtraCharts
  [Expand]DevExpress.XtraCharts.Designer
  [Expand]DevExpress.XtraCharts.Wizard
  [Expand]DevExpress.XtraDataLayout
  [Expand]DevExpress.XtraDiagram
  [Expand]DevExpress.XtraDiagram.Options
  [Expand]DevExpress.XtraEditors
  [Expand]DevExpress.XtraEditors.ButtonPanel
  [Expand]DevExpress.XtraEditors.Calendar
  [Expand]DevExpress.XtraEditors.Camera
  [Expand]DevExpress.XtraEditors.Container
  [Expand]DevExpress.XtraEditors.Controls
  [Expand]DevExpress.XtraEditors.CustomEditor
  [Expand]DevExpress.XtraEditors.DXErrorProvider
  [Expand]DevExpress.XtraEditors.Filtering
  [Expand]DevExpress.XtraEditors.Mask
  [Expand]DevExpress.XtraEditors.Persistent
  [Expand]DevExpress.XtraEditors.Repository
  [Expand]DevExpress.XtraEditors.ViewInfo
  [Expand]DevExpress.XtraFilterEditor
  [Expand]DevExpress.XtraGauges.Presets.Styles
  [Expand]DevExpress.XtraGauges.Win
  [Expand]DevExpress.XtraGauges.Win.Base
  [Expand]DevExpress.XtraGauges.Win.Gauges.Circular
  [Expand]DevExpress.XtraGauges.Win.Gauges.Digital
  [Expand]DevExpress.XtraGauges.Win.Gauges.Linear
  [Expand]DevExpress.XtraGauges.Win.Gauges.State
  [Expand]DevExpress.XtraGrid
  [Collapse]DevExpress.XtraGrid.Columns
    AutoFilterCondition Enumeration
   [Expand]ColumnFilterInfo Class
    ColumnFilterType Enumeration
    FilterPopupMode Enumeration
    FixedStyle Enumeration
   [Collapse]GridColumn Class
     GridColumn Members
     GridColumn Constructor
    [Expand]GridColumn Properties
    [Expand]GridColumn Methods
   [Expand]GridColumnCollection Class
   [Expand]GridColumnReadOnlyCollection Class
   [Expand]GridColumnSortInfo Class
   [Expand]GridColumnSortInfoCollection Class
   [Expand]GroupSummarySortInfo Class
   [Expand]GroupSummarySortInfoCollection Class
   [Expand]LayoutViewColumn Class
   [Expand]LayoutViewColumnCollection Class
   [Expand]OptionsColumn Class
   [Expand]OptionsColumnEditForm Class
   [Expand]OptionsColumnFilter Class
   [Expand]TileViewColumns Class
  [Expand]DevExpress.XtraGrid.EditForm
  [Expand]DevExpress.XtraGrid.FilterEditor
  [Expand]DevExpress.XtraGrid.Localization
  [Expand]DevExpress.XtraGrid.Views.BandedGrid
  [Expand]DevExpress.XtraGrid.Views.BandedGrid.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Base
  [Expand]DevExpress.XtraGrid.Views.Base.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Card
  [Expand]DevExpress.XtraGrid.Views.Card.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Grid
  [Expand]DevExpress.XtraGrid.Views.Grid.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Layout
  [Expand]DevExpress.XtraGrid.Views.Layout.Events
  [Expand]DevExpress.XtraGrid.Views.Layout.ViewInfo
  [Expand]DevExpress.XtraGrid.Views.Printing
  [Expand]DevExpress.XtraGrid.Views.Tile
  [Expand]DevExpress.XtraGrid.Views.WinExplorer
  [Expand]DevExpress.XtraGrid.WinExplorer
  [Expand]DevExpress.XtraLayout
  [Expand]DevExpress.XtraLayout.Customization
  [Expand]DevExpress.XtraLayout.HitInfo
  [Expand]DevExpress.XtraLayout.Localization
  [Expand]DevExpress.XtraLayout.Utils
  [Expand]DevExpress.XtraMap
  [Expand]DevExpress.XtraMap.Printing
  [Expand]DevExpress.XtraNavBar
  [Expand]DevExpress.XtraNavBar.ViewInfo
  [Expand]DevExpress.XtraPdfViewer
  [Expand]DevExpress.XtraPdfViewer.Commands
  [Expand]DevExpress.XtraPdfViewer.Localization
  [Expand]DevExpress.XtraPivotGrid
  [Expand]DevExpress.XtraPivotGrid.Data
  [Expand]DevExpress.XtraPrinting
  [Expand]DevExpress.XtraPrinting.Control
  [Expand]DevExpress.XtraPrinting.Preview
  [Expand]DevExpress.XtraPrintingLinks
  [Expand]DevExpress.XtraReports.UI
  [Expand]DevExpress.XtraRichEdit
  [Expand]DevExpress.XtraRichEdit.Commands
  [Expand]DevExpress.XtraRichEdit.Export
  [Expand]DevExpress.XtraRichEdit.Import
  [Expand]DevExpress.XtraRichEdit.Localization
  [Expand]DevExpress.XtraRichEdit.Menu
  [Expand]DevExpress.XtraScheduler
  [Expand]DevExpress.XtraScheduler.Drawing
  [Expand]DevExpress.XtraScheduler.Printing
  [Expand]DevExpress.XtraScheduler.Reporting
  [Expand]DevExpress.XtraScheduler.Reporting.UI
  [Expand]DevExpress.XtraScheduler.Services
  [Expand]DevExpress.XtraScheduler.Services.Implementation
  [Expand]DevExpress.XtraScheduler.UI
  [Expand]DevExpress.XtraSpellChecker
  [Expand]DevExpress.XtraSpellChecker.Localization
  [Expand]DevExpress.XtraSplashForm
  [Expand]DevExpress.XtraSplashScreen
  [Expand]DevExpress.XtraSpreadsheet
  [Expand]DevExpress.XtraSpreadsheet.Services
  [Expand]DevExpress.XtraTab
  [Expand]DevExpress.XtraTab.Buttons
  [Expand]DevExpress.XtraTab.ViewInfo
  [Expand]DevExpress.XtraTabbedMdi
  [Expand]DevExpress.XtraToolbox
  [Expand]DevExpress.XtraTreeList
  [Expand]DevExpress.XtraTreeList.Columns
  [Expand]DevExpress.XtraTreeList.Data
  [Expand]DevExpress.XtraTreeList.Localization
  [Expand]DevExpress.XtraTreeList.Menu
  [Expand]DevExpress.XtraTreeList.Nodes
  [Expand]DevExpress.XtraTreeList.Nodes.Operations
  [Expand]DevExpress.XtraTreeList.StyleFormatConditions
  [Expand]DevExpress.XtraTreeMap
  [Expand]DevExpress.XtraVerticalGrid
  [Expand]DevExpress.XtraVerticalGrid.Events
  [Expand]DevExpress.XtraVerticalGrid.Localization
  [Expand]DevExpress.XtraVerticalGrid.Rows
  [Expand]DevExpress.XtraWaitForm
  [Expand]DevExpress.XtraWizard
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

GridColumn Members

Represents an individual column in Grid Views and Card Views.

Expanded Public Constructors

Show: Inherited
  Name Description
Public method GridColumn Creates a new GridColumn object with default settings.
Top

Expanded Public Properties

Show: Inherited
  Name Description
Public property AbsoluteIndex Gets or sets the column's position within the View's column collection.
Public property AllowSummaryMenu Gets or sets whether all supported summaries or only the Count summary are enabled in the column's footer context menu.
Public property AppearanceCell Gets the appearance settings used to paint the column's data cells.
Public property AppearanceHeader Gets the appearance settings used to paint the column header.
Public property CanShowInCustomizationForm Gets a value indicating whether the column's header can be displayed within the Customization Form.
Public property Caption Gets or sets the column's display caption.
Public property ColumnAnnotationAttributes Returns the object that contains current values for all existing Data Annotation Attributes.
Public property ColumnEdit Gets or sets the repository item specifying the editor used to edit a column's cell values.
Public property ColumnEditName Gets or sets the name of the column's editor.
Public property ColumnHandle Gets or sets the column's bound data field by its index within the associated data source.
Public property ColumnType Gets the column's data type.
Public property Container Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public property CustomizationCaption Gets or sets the column's caption when its header is displayed within the Customization Form.
Public property CustomizationSearchCaption This member supports the internal infrastructure, and is not intended to be used directly from your code.
Public property DisplayFormat Provides access to the object specifying the formatting applied to column values.
Public property FieldName Gets or sets the column's unique field name. For bound columns, this property refers to a field in the underlying data source.
Public property FieldNameSortGroup Gets or sets another field by which data is sorted/grouped/filtered when sorting/grouping/filtering is applied to the current column.
Public property FilterInfo Gets or sets the filter condition applied to the column.
Public property FilterMode Gets or sets how column values are filtered via the auto filter row and filter dropdown.
Public property Fixed Gets or sets a value specifying whether the column takes part in horizontal View scrolling or is anchored to a View edge.
Public property GroupFormat Provides access to the formatting settings for the column's values which are displayed within group rows.
Public property GroupIndex Gets or sets the value specifying whether the column takes part in grouping and at which level.
Public property GroupInterval Gets or sets how data rows are grouped when grouping by the current column is applied. Certain limitations apply in server mode.
Public property Image Gets or sets an image displayed within the Column Header.
Public property ImageAlignment Gets or sets the column header image alignment.
Public property ImageIndex Gets or sets the index of the image displayed within the column header.
Public property Images Gets an image collection whose images can be displayed within the column's header.
Public property IsLoading Indicates whether the View that owns the current column is currently being initialized.
Public property IsUnboundExpressionValid Gets whether the column's UnboundExpression specifies a valid expression.
Public property MaxWidth Gets or sets the column's maximum width.
Public property MinWidth Gets or sets the column's minimum allowed width.
Public property MRUFilters Provides access to the column's recently used filters.
Public property Name Gets or sets the column name.
Public property OptionsColumn Provides access to the column's options.
Public property OptionsEditForm Provides access to the settings of the editor that corresponds to the current column within an Edit Form.
Public property OptionsFilter Provides access to the filter options for the current column.
Public property ReadOnly Gets a value indicating whether the column's OptionsColumn.ReadOnly option is enabled.
Public property RealColumnEdit Gets the repository item that actually represents the column's editor.
Public property ShowButtonMode Gets or sets a value specifying which column cells display editor buttons.
Public property ShowUnboundExpressionMenu Gets or sets whether an end-user can open an Expression Editor for the current unbound column, using a context menu.
Public property Site Gets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public property SortIndex Gets or sets the column's position among sorted columns.
Public property SortMode Gets or sets how the column's data is sorted when sorting/grouping is applied to it.
Public property SortOrder Gets or sets the column's sort order.
Public property Summary Allows you to add multiple total summaries for a column. These summaries are displayed within the View Footer.
Public property SummaryItem Provides access to the column's footer summary settings.
Public property SummaryText Gets the summary text displayed within the View footer cell located under this column.
Public property Tag Gets or sets the data associated with the column.
Public property ToolTip Gets or sets a custom tooltip for the column.
Public property UnboundExpression Gets or sets an expression used to evaluate values for the current unbound column.
Public property UnboundType Gets or sets the data type and binding mode of the column.
Public property View Gets the View that owns the column.
Public property Visible Gets or sets whether the column is visible.
Public property VisibleIndex Gets or sets the column's visible state and position within the View.
Public property VisibleWidth Gets the actual column width. This property is useful in column auto-width mode (see GridOptionsView.ColumnAutoWidth).
Public property Width Gets or sets the column width.
Top

Expanded Public Methods

Show: Inherited
  Name Description
Public method BestFit Resizes the column to the minimum width required to display the column content completely.
Public method ClearFilter Clears filtering applied to the column.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public method Dispose Releases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
Public method Equals Determines whether the specified System.Object is equal to the current System.Object. (Inherited from System.Object)
Public methodStatic member Equals Determines whether the specified System.Object instances are considered equal. (Inherited from System.Object)
Public method GetBestWidth Returns the minimum width that the column can have and still display its contents completely.
Public method GetCaption Returns the actual display caption for the current column.
Public method GetDescription Gets this column's description, assigned using the [Display(Description = ". . .")] data attribute.
Public method GetHashCode Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from System.Object)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public method GetTextCaption Returns the non formatted column caption.
Public method GetType Gets the System.Type of the current instance. (Inherited from System.Object)
Public method Group Groups data by the values of the current column.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public methodStatic member ReferenceEquals Determines whether the specified System.Object instances are the same instance. (Inherited from System.Object)
Public method Resize Specifies a new width for the column.
Public method ToString Gets the column's caption.
Public method UnGroup Ungroups data by the values of the current column.
Top

Expanded Public Events

Show: Inherited
  Name Description
Public event Disposed Occurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component)
Top

Expanded See Also

How would you rate this topic?​​​​​​​