CBreeze
CBreeze

Reputation: 2983

Styling the Extended Toolkit BusyIndicator

I'm looking to style the BusyIndicator so it looks something along the lines of this;

enter image description here

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;

enter image description here

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

Answers (1)

Dennis
Dennis

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:

  • apply your own control template (you can base it on Xceed's one);
  • make your own BusyIndicator (since it is based on overlays concept, it is not so complex task).

Upvotes: 1

Related Questions