|
<UserControl x:Class="CaliburnSample1.Views.AdvancedWizardView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:v="clr-namespace:CaliburnSample1.Views"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
d:DesignHeight="480" d:DesignWidth="480">
<Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding Path=Title}" Margin="-3,-8,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
<v:DynamicContentControl Content="{Binding Path=CurrentStep}"
VerticalContentAlignment="Stretch"
HorizontalContentAlignment="Stretch" Grid.Row="1"/>
<StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center">
<Button Content="Previous" x:Name="Previous"
Visibility="{Binding Path=CanPrevious, Converter={StaticResource conv}}" >
</Button>
<Button Content="Next" x:Name="Next"
Visibility="{Binding Path=CanNext, Converter={StaticResource conv}}">
</Button>
<Button Content="Finish" x:Name="Finish"
Visibility="{Binding Path=CanFinish, Converter={StaticResource conv}}">
</Button>
<Button Content="Cancel" x:Name="Cancel"
Visibility="{Binding Path=CanCancel, Converter={StaticResource conv}}">
</Button>
</StackPanel>
</Grid>
</UserControl>
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.