Gets the cell style currently applied to the column.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This property is useful to determine which cell styles are applied to all cells in a column regardless of any row styles that are also applied to the cells. The column property inherits its values from the DefaultCellStyle and the DataGridView.DefaultCellStyle property.
For more information about cell style inheritance, see Cell Styles in the Windows Forms DataGridView Control.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2