|
<Window x:Class="WpfPageTransitionDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:pageTransitions="clr-namespace:WpfPageTransitions;assembly=WpfPageTransitions"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="40" />
</Grid.RowDefinitions>
<pageTransitions:PageTransition Name="pageTransitionControl" Margin="25" TransitionType="SlideAndFade" />
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
<ComboBox Name="cmbTransitionTypes" Margin="5" Width="200" SelectionChanged="cmbTransitionTypes_SelectionChanged" />
<Button Margin="5" Name="btnNextPage" Content="Next Page" Click="btnNextPage_Click" Width="150" />
</StackPanel>
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Check out my technical blog here:
The Fyslexic Duck. You can find most of what I've put on CodeProject there, plus some additional technical articles.