New to Telerik UI for WinForms? Start a free 30-day trial
GridViewColorColumn
Updated over 1 year ago
GridViewColorColumn allows RadGridView to edit colors using RadColorDialog.

GridViewColorColumn is auto-generated for Color properties in the RadGridView.DataSource. The following code snippet demonstrates how to create it manually, add it to RadGridView and populate it with data:
C#
GridViewColorColumn column = new GridViewColorColumn("Color column");
this.radGridView1.Columns.Add(column);
this.radGridView1.Rows.Add("Red");
this.radGridView1.Rows.Add("Orange");
this.radGridView1.Rows.Add("Yellow");
this.radGridView1.Rows.Add("Green");
this.radGridView1.Rows.Add("Blue");
this.radGridView1.Rows.Add("Indigo");
this.radGridView1.Rows.Add("Violet");
GridColorPickerEditor
The default editor of the GridViewColorColumn is GridColorPickerEditor which can be accessed in the CellEditorInitialized event. The RadColorPickerEditorElement gives you full access to the RadColorDialogForm by accessing the GridColorPickerElement.ColorDialog.ColorDialogForm property.
