This is a migrated thread and some comments may be shown as answers.

Question about placement of the busy indicator

1 Answer 103 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Kjell asked on 09 Aug 2010, 10:29 PM
Hello.  My radbusyindicater is showing up in the center of the window (horizontally) but vertically top aligned.  I need to have it left aligned.

Here is what my XAML looks like, immediately below that is my content of course and then just the closing tag for the RadBusyIndicator

<telerik:RadBusyIndicator x:Name="busyIndicator" BusyContent="Loading ..." Background="Transparent" BorderBrush="Transparent" >
               <telerik:RadBusyIndicator.OverlayStyle>
                   <Style TargetType="Rectangle">
                       <Setter Property="Margin" Value="56,50,0,0" />
                       <Setter Property="HorizontalAlignment" Value="Left" />
                       <Setter Property="Width" Value="200"/>
                       <Setter Property="VerticalAlignment" Value="Top" />
                       <Setter Property="Fill" Value="Transparent" />
                   </Style>

It looks like the "HorizontalAlignment" propery is stuck on Stretch, or more likely I am doing something wrong, please let me know.   Also one more note, I don't want this to impact the actual content, just the busy animation.  I also wanted to get rid of the border and background, so basically it is just the spinning circle and text, that is working great.

1 Answer, 1 is accepted

Sort by
0
Accepted
Pana
Telerik team
answered on 10 Aug 2010, 12:00 PM
Hello Kjell,

You will have to edit the RadBusyIndicator's Control Template to achieve the desired effect. The easiest way is to do it in Expression Blend. I have attached a project and a video that demonstrates how it can be done.

Regards,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
BusyIndicator
Asked by
Kjell
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or