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

Animation on RadPhoneApplicationFrame background

3 Answers 51 Views
PhoneApplicationFrame
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cristovao
Top achievements
Rank 1
Cristovao asked on 01 Mar 2012, 01:06 PM
Hi!
I've setup my transitions animations fine...
But some apps have a similar "loading" animation on the background while applying the transition...
I was able to get me a background image

RootFrame = new RadPhoneApplicationFrame
           {
               Background = new ImageBrush
               {
                   ImageSource = new BitmapImage(new Uri("Content/Loading.jpg", UriKind.RelativeOrAbsolute)),
                   Opacity = 1,
                   Stretch = Stretch.None
               }
               ,
               Height = 800
               
           }; ;

is what i want even possible?

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 02 Mar 2012, 10:13 AM
Hi,

You can edit the control template of the RadPhoneApplicationFrame and to include your animation there. but please note that depending on the implementation of the animation the performance of the application may drop.

Please let us know if you need more help.

Greetings, Valentin.Stoychev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Cristovao
Top achievements
Rank 1
answered on 02 Mar 2012, 03:46 PM
Can you POST the black default style/template(XAML) to start building on top?
0
Accepted
Valentin.Stoychev
Telerik team
answered on 02 Mar 2012, 03:51 PM
Hello,

Yes - here it is:
<ControlTemplate TargetType="telerikPrimitives:RadPhoneApplicationFrame">
                    <Border x:Name="ClientArea" Background="{TemplateBinding Background}"
                                HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
                                VerticalAlignment="{TemplateBinding VerticalAlignment}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}" >
 
                            <telerikPrimitives:RadTransitionControl
                                x:Name="TransitionControl"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                Margin="{TemplateBinding Padding}"
                                Content="{TemplateBinding Content}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"
                                Transition="{TemplateBinding Transition}">
 
                            </telerikPrimitives:RadTransitionControl>
 
                        </Border>
                </ControlTemplate>


Kind regards, Valentin.Stoychev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
PhoneApplicationFrame
Asked by
Cristovao
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Cristovao
Top achievements
Rank 1
Share this question
or