# Custom Content

`RadCircularProgressBar` supports setting a complex structure of elements to the `ContentTemplate` property to represent the value set for the `Content` property. The Content property is of type `object` and can hold a value of any type.

**Setting the Content and ContentTemplate properties**

```XAML
<telerik:RadCircularProgressBar Name="circularProgressBar" 
                                Value="75"
                                Maximum="100"
                                Content="{Binding ElementName=circularProgressBar, Path=Value}">
    <telerik:RadCircularProgressBar.ContentTemplate>
        <DataTemplate>
            <StackPanel Orientation="Vertical">
                <TextBlock Text="{Binding Path=., StringFormat={}{0}%}"
                   TextAlignment="Center"
                   FontSize="16"
                   FontWeight="SemiBold" 
                   Foreground="{Binding ElementName=circularProgressBar, Path=IndicatorFill}"/>
                <TextBlock Text="Completed" 
                   FontSize="16"
                   FontWeight="SemiBold" 
                   Foreground="{Binding ElementName=circularProgressBar, Path=IndicatorFill}"/>
            </StackPanel>
        </DataTemplate>
    </telerik:RadCircularProgressBar.ContentTemplate>
</telerik:RadCircularProgressBar>
```

![RadCircularProgressBar with custom content](https://www.telerik.com/products/wpf/documentation/assets/8da6cf98e622b70979af206203664afc/radcircularprogressbar-custom-content-0.png)

**Custom content with indeterminate state**

```XAML
<telerik:RadCircularProgressBar Value="75"
                                Maximum="100"
                                IsIndeterminate="True"
                                Content="In Progress">
    <telerik:RadCircularProgressBar.ContentTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding}"
                       FontSize="16" 
                       FontWeight="SemiBold"
                       Foreground="{Binding ElementName=circularProgressBar, Path=IndicatorFill}"/>
        </DataTemplate>
    </telerik:RadCircularProgressBar.ContentTemplate>
</telerik:RadCircularProgressBar>
```

![RadCircularProgressBar with custom content and indeterminate state](https://www.telerik.com/products/wpf/documentation/assets/e2e38875be49f362763295d86f6d7aa0/radcircularprogressbar-custom-content-1.gif)

## ContentStringFormat

RadCircularProgressBar allows you to set a string format to the `ContentStringFormat` property. This format will be applied to the Content property.

**Custom ContentStringFormat**

```XAML
<telerik:RadCircularProgressBar Value="0.75"
                                Content="{Binding ElementName=circularProgressBar, Path=Value}" 
                                ContentStringFormat="p2"/>
```

![RadCircularProgressBar with applied ContentStringFormat](https://www.telerik.com/products/wpf/documentation/assets/684650d05df0cecf4c58b418c8fbea9f/radcircularprogressbar-custom-content-2.png)

> tip Check this [article](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings) for more information on the supported formats.

## See Also

* [Indeterminate State Animation Customization](https://www.telerik.com/products/wpf/documentation/controls/radcircularprogressbar/animation-customization)
