Reputation: 2983
I'm looking to style the BusyIndicator
so it looks something along the lines of this;
At the moment my busy indicator does not take up the whole Window
that it is placed in too, which I would like it to do. My current BusyIndicator
looks like this;
Has anybody had success with styling the BusyIndicator
? I've had a look at the example on the Extended Toolkit website however it does not result in what I would like the indicator to look like.
Upvotes: 4
Views: 1286
Reputation: 37780
This is a part of BusyIndicator
's control template:
<ContentPresenter x:Name="busycontent">
<ContentPresenter.Content>
<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
busycontent
element is a rectangular region, which holds "Please wait" (default BusyContent
) and progress bar. As you can see, alignment values for Grid
are hard-coded and they make grid to be centered.
You have two options:
BusyIndicator
(since it is based on overlays concept, it is not so complex task).Upvotes: 1