# Configure the .NET MAUI Rating

The Rating is presented by two components named [`RadShapeRating`](https://www.telerik.com/maui-ui/documentation/controls/rating/rating-shape-rating) and [`RadTemplatedRating`](https://www.telerik.com/maui-ui/documentation/controls/rating/templated-rating) to provide various visualizations of the rating functionality.

The features described in this article are common for both `RadShapeRating` and `RadTemplatedRating`.

> tip The `RadShapeRating` and `RadTemplatedRating` inherit from the `RatingBase` abstract class that provides their common features.

## Rating Value

The Rating control exposes a `Value` property that is used to set and read the number of the selected rating items.

```XAML
<telerik:RadShapeRating Value="4" />
```

Add the namespace:

```XAML
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
```

## Configuration Settings

* `ItemsCount`—Defines the number of the items that are visualized in the Rating control. The default value is `5` items.
* `ItemsSpacing`—Specifies the distance between the separate items in pixels. The default value is `10px`.

```XAML
<telerik:RadShapeRating AutomationId="radRating"
                             Value="4"
                             ItemsCount="7"
                             ItemsSpacing="20" />
```

## See Also

* [RadShapeRating](https://www.telerik.com/maui-ui/documentation/controls/rating/rating-shape-rating)
* [RadTemplatedRating](https://www.telerik.com/maui-ui/documentation/controls/rating/templated-rating)
