Question about placement of the busy indicator

2 posts, 1 answers
  1. Kjell
    Kjell avatar
    276 posts
    Member since:
    Jun 2010

    Posted 09 Aug 2010 Link to this post

    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.

  2. Answer
    Pana
    Admin
    Pana avatar
    748 posts

    Posted 10 Aug 2010 Link to this post

    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
  3. DevCraft banner
Back to Top