Styling the RadBusyIndicator
Before reading this topic, you might find it useful to get familiar with the Template Structure of the RadBusyIndicator control.
The RadBusyIndicator exposes a Style property which allows you to modify its appearance.
You have two options:
To create an empty style and set it up on your own.
To copy the default style of the control and modify it.
This topic will show you how to perform the second one.
Modifying the Default Style
To copy the default styles, 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 Style -> 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. The properties available for the style will be loaded in the 'Properties' pane and you will be able to modify their default values. You can also edit the generated XAML in the XAML View or in Visual Studio.
Here are some of the generated resources:
BusyIndicatorBorderBrush - represents the brush applied to the indicator's busy content border.
BusyIndicatorBackground - represents the brush applied to the indicator's content background.
BusyIndicatorProgressBarStyle - represents the default style applied to the RadProgressBar control.
BusyIndicatorBusyOverlayBrush - represents the brush overlaying the RadBusyIndicator's content while the indicator is active.
Here is an example of the above resources modified:
Here is the result: