New to Telerik UI for WPF? Download free 30-day trial


GridViewBoundColumnBase derives from GridViewColumn, which means it inherits all of the functionality too. In addition it allows you to easily bind data, format it and edit it using editors.

Here is a list of the most important properties and methods.

  • DataFormatString: Allows you to specify formatting for the data displayed in the column via a format string. More about displaying data in the RadGridView - here.

  • DataMemberBinding: Allows you to specify the binding to the property, whose value you want to display in the column. More about displaying data in the RadGridView -here.

  • EditorStyle: Allows you to specify a Style for the editor of the column.

  • EditTriggers: Allows you to specify what action will set the cell in edit mode. The available options are:

    • CellClick: A single click will put the cell into edit mode.

    • CurrentCellClick: A click on the current cell will put it into edit mode.

    • Default: The default setting which combines the CurrentCellClick, F2 and TextInput values.

    • F2: Pressing F2 on a cell will put it into edit mode.

    • None: No action will put the cell in edit mode.

    • TextInput: Any text input will put the current cell into edit mode.

  • FilteringControlStyle: allows you to specify a Style for the filtering control.

  • IsAutogenerated: Indicates whether the column is auto generated or not.

  • IsReadOnlyBinding: Defines which cells of the column should be read only. Read more here.

  • GetValueForItem(item): A method which returns the content of the cell for the provided item.

Example 1: Iterating over cells in all visible columns and accessing their values

var visibleColumns = RadGridView1.Columns.OfType<GridViewBoundColumnBase>() 
                     .Where(c => c.IsVisible) 
                     .OrderBy(c => c.DisplayIndex).ToList(); 
for (var i = 0; i < RadGridView1.Items.Count; i++) 
    for (var j = 0; j < visibleColumns.Count; j++) 
        var value = visibleColumns[j].GetValueForItem(RadGridView1.Items[i]); 
In this article