Posted 16 years ago
by Bob Ryan

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?