问题
Is there a simple way of changing the background colour of the default busy indicator from the default grey to white gradient to another colour?
Example image of the default busy indicator can be found here
Thanks
回答1:
Well, its simple.
to use the toolkit you must declare it namespace in your xaml class(i think you've done that ok ?)
Like this :
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
After this you must declare your toolkit :
<toolkit:BusyIndicator BackGround="White" >
<elements that need a busy indicator>
</toolkit:BusyIndicator>
You can do what you want just by changing the property BackGround.
Hope it Helps
来源:https://stackoverflow.com/questions/9889832/silverlight-busyindicator-background-colour