hchattaway
Top achievements
Rank 1
hchattaway
asked on 10 Nov 2009, 10:23 PM
Hi All,
Are there any built in transition effects in the WPF suite? In the demo, there is a transition between categories of demo's.. the panel pulls back and rotates. Are there any existing control like that available with a choice of transition effects?
Thanks
harold
Are there any built in transition effects in the WPF suite? In the demo, there is a transition between categories of demo's.. the panel pulls back and rotates. Are there any existing control like that available with a choice of transition effects?
Thanks
harold
5 Answers, 1 is accepted
0
Hello hchattaway,
There is no such a control, that you can use for such a transition animation. Please find the attached animation used in our online examples.
Kind regards,
Kaloyan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
There is no such a control, that you can use for such a transition animation. Please find the attached animation used in our online examples.
Kind regards,
Kaloyan
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Shane P
Top achievements
Rank 1
answered on 13 Feb 2010, 11:47 PM
Hi Kaloyan,
I create a public function that I call from each of the buttons
That's a nice example thank you. What if I wanted to create a button in both of the pages removing the button from MainPage.xaml.
How could I use the same effect?
I create a public function that I call from each of the buttons
public void ChangePage() |
{ |
var content = ExampleContainer.Content as Page; |
var targetPage = content is Page1 ? new Page2() as Page : new Page1() as Page; |
this.ExampleContainer.NavigateToExample(targetPage); |
} |
However if I place a breakpoint on [var content] then pass over it, null is been returned.
What do I need to change?
What do I need to change?
Thanks for your help!
0
Hello Shane Price,
Sincerely yours,
Kaloyan
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.
We are not sure what might be causing the problem. Also with the Q1 2010 Beta release this week we are launching a new transition control that is exposing such kind of transition animation. You can directly use it without any code transformations.
Sincerely yours,
Kaloyan
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.
0
Shane P
Top achievements
Rank 1
answered on 17 Feb 2010, 09:44 AM
Thanks for your reply. I look forward to seeing this new control. Is there any information available yet to read on the new control?
This is my code
public partial class MainPage : Page |
{ |
public MainPage() |
{ |
InitializeComponent(); |
} |
public MainPage(Page page) |
{ |
InitializeComponent(); |
ChangePage(page); |
} |
private void Button_Click(object sender, RoutedEventArgs e) |
{ |
var content = ExampleContainer.Content as Page; |
var targetPage = content is Page1 ? new Page2() as Page : new Page1() as Page; |
ChangePage(targetPage); |
} |
public void ChangePage(Page page) |
{ |
var content = ExampleContainer.Content as Page; |
switch (page.Title) |
{ |
case "Page1": |
var targetPage = new Page1() as Page; |
this.ExampleContainer.NavigateToExample(targetPage); |
break; |
case "Page2": |
var page2 = new Page2() as Page; |
this.ExampleContainer.NavigateToExample(page2); |
break; |
} |
// var targetPage = content is Page1 ? new Page2() as Page : new Page1() as Page; |
} |
} |
from Page1 where I am trying to call the tr
public partial class Page1 : Page |
{ |
public Page1() |
{ |
InitializeComponent(); |
} |
private void btnRed_Click(object sender, RoutedEventArgs e) |
{ |
//var myValue = (Frame)parent.FindName("ExampleContainer"); |
//////MainPage mp = new MainPage(); |
//////mp.ChangePage(); |
//var content = parent.Content as Page; |
//var targetPage = content is Page1 ? new Page2() as Page : new Page1() as Page; |
////this.content.NavigateToExample(targetPage); |
MainPage mp = new MainPage(new Page2()); |
} |
} |
Nothing happens. Am I doing something really stupid?
Thanks
Shane
Shane
0
Hello Shane,
The Q1 2010 Beta will be published by the end of the week and it will contain the RadTransitionControl.
Regards,
Valeri Hristov
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.
The Q1 2010 Beta will be published by the end of the week and it will contain the RadTransitionControl.
Regards,
Valeri Hristov
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.