# Key Properties

This help article will provide information about the **StringFormat** property, a key property of the **RadTimeSpanPicker** control.

## StringFormat

You can use the **StringFormat** property for formatting the representation of the selected TimeSpan value to any desired format. By using it the current format of the TimeSpan could easily be changed.

The following example demonstrates how to set the **StringFormat** property.

**Example 1: Setting the StringFormat of the RadTimeSpanPicker**

```XAML
<telerik:RadTimeSpanPicker StringFormat="d' Days, 'h' hours and 'mm' minutes'">
    <telerik:RadTimeSpanPicker.TimeSpanComponents>
        <telerik:DayTimeSpanComponent/>
        <telerik:HourTimeSpanComponent/>
        <telerik:MinuteTimeSpanComponent/>
    </telerik:RadTimeSpanPicker.TimeSpanComponents>
</telerik:RadTimeSpanPicker>
```

> caption The new StringFormat representation of the TimeSpan

![WPF RadTimeSpanPicker The new StringFormat representation of the TimeSpan](https://www.telerik.com/products/wpf/documentation/assets/a8780c758654023433ce42df2c3a12dd/radtimespanpicker_key_properties_01.png)

> You can find detailed inforamation about the supported formats of the TimeSpan [here](https://msdn.microsoft.com/en-us/library/ee372287%28v=vs.110%29.aspx).

## See Also

* [Overview](https://www.telerik.com/products/wpf/documentation/controls/radtimespanpicker/overview)

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radtimespanpicker/getting-started)
