# Customize the TextBox

The appearance of the TextBox part of RadAutoSuggestBox can be customized via the **TextBoxStyle** property of the control.

The TextBoxStyle property expects a Style object with a **TargetType** set to **RadWatermarkTextBox**.

**Example 1: Setting TextBoxStyle**

```XAML
<telerik:RadAutoSuggestBox Foreground="Red">
    <telerik:RadAutoSuggestBox.TextBoxStyle>
        
        <Style TargetType="telerik:RadWatermarkTextBox" BasedOn="{StaticResource RadWatermarkTextBoxStyle}">
            <Setter Property="Opacity" Value="0.5" />
            <Setter Property="FontWeight" Value="Bold" />
        </Style>
    </telerik:RadAutoSuggestBox.TextBoxStyle>
</telerik:RadAutoSuggestBox>
```

![WPF RadAutoSuggestBox Custom TextBoxStyle](https://www.telerik.com/products/wpf/documentation/assets/5ee2997d399a9c960bd94fdb67b8c347/radautosuggestbox-appearance-customize-textbox-0.png)

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radautosuggestbox/getting-started)
* [Events](https://www.telerik.com/products/wpf/documentation/controls/radautosuggestbox/events)
* [Buttons](https://www.telerik.com/products/wpf/documentation/controls/radautosuggestbox/appearance/customize-buttons)
* [Xaml vs. NoXaml](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/xaml-vs-noxaml)
* [Editing Control Templates](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-editing-control-templates)
