New to Telerik UI for WPFStart a free 30-day trial

Styling Column Editor

Updated on Sep 24, 2025

Each of the columns that derive from GridViewBoundColumnBase have an EditorStyle property that is used to apply an appropriate Style to the column's editor. While creating this style, keep in mind the type of the editor and its properties. Here is a list of some column types and the types of their editors.

Column TypeEditor Type
GridViewDataColumnTextBox
GridViewComboBoxColumnRadComboBox
GridViewImageColumnNot Editable
GridViewSelectColumnNot Editable
GridViewHyperlinkColumnNot Editable
GridViewDynamicHyperlinkColumnNot Editable
GridViewToggleRowDetailsColumnNot Editable

For example, if you want to set the style for the GridViewDataColumn's editor, you have to create a Style that targets the TextBox control.

To learn how to modify the default styles of a control, please refer to the Modifying Default Styles article.

Example 1: Styling all text boxes of an application

XAML
	<Style x:Key="TextBoxStyle" TargetType="TextBox">
	    <Setter Property="Background" Value="Red"/>
	    <Setter Property="Foreground" Value="Yellow"/>
	    <Setter Property="Padding" Value="2"/>
	</Style>

If you are using Implicit Styles, you need to base the style on TextBoxStyle.

Example 2: Setting a column's EditorStyle

XAML
	<telerik:GridViewDataColumn EditorStyle="{StaticResource TextBoxStyle}" />

Figure 1: RadGridView with styled column edtior

Telerik WPF DataGrid-styled-column-edtior

See Also

In this article
See Also
Not finding the help you need?
Contact Support