New to Telerik UI for WPF? Download free 30-day trial

Modify the default placement

Before reading this topic, you might find it useful to get familiar with the Template Structure of the RadBusyIndicator control.

This topic will show you how to change the default placement of the RadBusyIndicator busy content. By default it appears centered on top of the actual content. In some scenarios you may need to align it differently. In order to do this you will have to slightly modify the RadBusyIndicator's default template.

  • The first thing you have to do is to generate the RadBusyIndicator's default template. Load your project in Expression Blend and open the User Control that holds the RadBusyIndicator. In the 'Objects and Timeline' pane select the RadBusyIndicator you want to style. From the menu choose Object -> Edit Template -> Edit a Copy. You will be prompted for the name of the style and where to be placed.

If you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.After clicking 'OK', Expression Blend will generate the default style of the RadBusyIndicator control in the Resources section of your User Control.

  • Navigate to the "Indicator" element, which as it is described in the template structure is of type Border and hosts the RadBusyIndicator's progress bar and busy content.

  • Set the HorizontalAlignment and VerticalAlignment properties in a way that suits your scenario.

See Also

In this article