Posted 15 years ago
by Bob Ryan
![Avatar](https://secure.gravatar.com/avatar/7cdf83ad5de2b1ab3c4a12153c2e99b3.jpg?s=64&d=identicon&r=g)
Product Version: WPF Studio v9.1.4.5
I have an application that is wizard-like (but not your wizard) that uses Windows' NavigationWindow and has several Pages. I am using the TransitionPresenter for each page like this:
<Page x:Class="myApp.Page1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
Title="Foo" WindowTitle="Foo">
<shared:TransitionPresenter x:Name="transitionPresenter">
<shared:TransitionPresenter.Transition>
<shared:BarWipeTransition Direction="Forward" />
</shared:TransitionPresenter.Transition>
<Grid>
...stuff
</Grid>
As I navigate from page to page, the BarWipe transition draws left to right. However, I need a way to dynamically change Direction="Backward" when I am backing up. I tried to do this programatically in the page's load method - but to no avail.
This is built into your wizard but I am not using those classes. How to I change this programatically or via data binding?
I have an application that is wizard-like (but not your wizard) that uses Windows' NavigationWindow and has several Pages. I am using the TransitionPresenter for each page like this:
<Page x:Class="myApp.Page1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared"
Title="Foo" WindowTitle="Foo">
<shared:TransitionPresenter x:Name="transitionPresenter">
<shared:TransitionPresenter.Transition>
<shared:BarWipeTransition Direction="Forward" />
</shared:TransitionPresenter.Transition>
<Grid>
...stuff
</Grid>
As I navigate from page to page, the BarWipe transition draws left to right. However, I need a way to dynamically change Direction="Backward" when I am backing up. I tried to do this programatically in the page's load method - but to no avail.
This is built into your wizard but I am not using those classes. How to I change this programatically or via data binding?