# Styling Column Editor

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 Type                    | Editor Type  |
| ------------------------------ | ------------ |
| GridViewDataColumn             | TextBox      |
| GridViewComboBoxColumn         | RadComboBox  |
| GridViewImageColumn            | Not Editable |
| GridViewSelectColumn           | Not Editable |
| GridViewHyperlinkColumn        | Not Editable |
| GridViewDynamicHyperlinkColumn | Not Editable |
| GridViewToggleRowDetailsColumn | Not 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 modify the default style, see [Editing Control Templates](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-editing-control-templates).

**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](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-setting-a-theme-overview), you need to base the style on **TextBoxStyle**.

**Example 2: Setting a column's EditorStyle**

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

> caption RadGridView with styled column edtior

![Telerik UI for WPF RadGridView with a styled column editor applied through EditorStyle](https://www.telerik.com/products/wpf/documentation/assets/3ea9a7f4b5ba92a96a3d411be3667ca0/gridview-styled-column-edtior.png)

## See Also

* [Styling GridViewEditorPresenter](https://www.telerik.com/products/wpf/documentation/controls/radgridview/styles-and-templates/styling-editorpresenter)
