-
Notifications
You must be signed in to change notification settings - Fork 0
/
View2.xaml
36 lines (36 loc) · 2.13 KB
/
View2.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<UserControl xmlns:dxwui="http://schemas.devexpress.com/winfx/2008/xaml/windowsui" x:Class="NavigationButtons.View2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
xmlns:dxwuin="http://schemas.devexpress.com/winfx/2008/xaml/windowsui/navigation"
xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
d:DesignHeight="300" d:DesignWidth="300" dxc:ThemeManager.ThemeName="Office2013">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<dxwui:PageAdornerControl Header="View 2" Grid.Row="0">
<dxwui:PageAdornerControl.HeaderTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<ContentPresenter Content="{Binding}" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="1">
<dxwui:NavigationButton FontSize="14" Margin="10, 0, 0, 0" Content="View 1" NavigateTo="View1"/>
<dxwui:NavigationButton FontSize="14" Margin="10, 0, 0, 0" Content="View 3" NavigateTo="View3"/>
</StackPanel>
</Grid>
</DataTemplate>
</dxwui:PageAdornerControl.HeaderTemplate>
</dxwui:PageAdornerControl>
<Border Grid.Row="1" Background="Salmon">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Name="textBlock1" Text="Use the back button or navigation buttons to move through the views"/>
</Border>
</Grid>
</UserControl>