PageRenderTime 66ms CodeModel.GetById 63ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/IronPython_Main/Languages/Ruby/Samples/Tutorial/app/design/TutorialSL/TutorialPage.xaml

#
XAML | 37 lines | 36 code | 1 blank | 0 comment | 0 complexity | fddd74908bab7310ee7484607a2db509 MD5 | raw file
 1<UserControl
 2	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 5	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 6	mc:Ignorable="d"
 7	xmlns:local="clr-namespace:TutorialSL"
 8	x:Class="TutorialSL.TutorialPage"
 9	d:DesignWidth="624" d:DesignHeight="450" Background="White">
10
11	<StackPanel x:Name="tutorial_page" VerticalAlignment="Top" Margin="0,8,0,0">
12        <TextBlock x:Name="pre_exercise" HorizontalAlignment="Left" FontSize="13.333" Padding="0,0,0,8" FontFamily="Segoe UI" Text="This section blah blah  blah ..." Margin="8,8,8,0"/>
13        <TextBlock x:Name="exercise" HorizontalAlignment="Left" FontSize="13.333" Padding="0,0,0,8" Foreground="Black" VerticalAlignment="Top" FontFamily="Segoe UI" Text="This section blah blah  blah ..." Margin="8,8,8,0"/>
14        <StackPanel x:Name="start_tutorial" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="8,0,8,8" Visibility="Collapsed">
15        	<Button Content="Start tutorial"/>
16        </StackPanel>
17		<StackPanel x:Name="tutorial_body" Margin="8,0" VerticalAlignment="Top">
18			<local:StepControl />
19			<local:StepControl />
20		</StackPanel>
21		<StackPanel x:Name="complete">
22			<TextBlock x:Name="complete_title" Text="Section complete!" TextWrapping="Wrap" Margin="13,0,13,8" FontSize="16" FontWeight="Bold" FontFamily="Segoe UI"/>
23			<Border x:Name="complete_wrapper" BorderBrush="#FFC8C8C8" BorderThickness="5" CornerRadius="10" Margin="8,0,8,8" Canvas.ZIndex="10">
24				<StackPanel Margin="0">
25					<TextBlock x:Name="complete_body" VerticalAlignment="Top" FontSize="16" Padding="7,6,7,0" HorizontalAlignment="Left" FontFamily="Segoe UI">
26						<Run>Section complete!"</Run> 
27					</TextBlock>
28					<StackPanel Margin="8" Orientation="Horizontal" d:LayoutOverrides="HorizontalAlignment">
29						<Button x:Name="next_chapter" Content="Move onto next chapter" Padding="5" FontFamily="Segoe UI" FontSize="12"/>
30						<TextBlock Margin="5,5,5,0" Text="or" TextWrapping="Wrap" Visibility="Collapsed"/>
31						<Button Content="select another" Padding="3" Visibility="Collapsed"/>
32					</StackPanel>
33				</StackPanel>
34			</Border>
35		</StackPanel>
36	</StackPanel>
37</UserControl>