# Make the RadRating read only

The purpose of this tutorial is to show you how to make the **RadRating** read only.

Example 1 demonstrates a regular **RadRating** declaration, where **telerik** points to: **\<xmlns:telerik="<http://schemas.telerik.com/2008/xaml/presentation>" />**

**Example 1: Declare a RadRating**

```XAML
<telerik:RadRating x:Name="radRating" Value="2.5" />
```

In order to make the **RadRating** control read only you have to set its **IsReadOnly** property to true:

**Example 2: Make the RadRating readonly in Xaml**

```XAML
<telerik:RadRating x:Name="radRating2" Value="2.5" IsReadOnly="True" />
```

**Example 3 Make the RadRating readonly in code**

```C#
this.radRating.IsReadOnly = true;
```

```VB.NET
	Me.radRating.IsReadOnly = true
```

> caption Result from examples 2 and 3

![Readonly RadRating](https://www.telerik.com/products/wpf/documentation/assets/62af11399d177ceedaa598d8bfa1f7f1/rating_howto_readonly.png)
