PageRenderTime 409ms CodeModel.GetById 28ms 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
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0
  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. <StackPanel x:Name="tutorial_page" VerticalAlignment="Top" Margin="0,8,0,0">
  11. <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"/>
  12. <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"/>
  13. <StackPanel x:Name="start_tutorial" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="8,0,8,8" Visibility="Collapsed">
  14. <Button Content="Start tutorial"/>
  15. </StackPanel>
  16. <StackPanel x:Name="tutorial_body" Margin="8,0" VerticalAlignment="Top">
  17. <local:StepControl />
  18. <local:StepControl />
  19. </StackPanel>
  20. <StackPanel x:Name="complete">
  21. <TextBlock x:Name="complete_title" Text="Section complete!" TextWrapping="Wrap" Margin="13,0,13,8" FontSize="16" FontWeight="Bold" FontFamily="Segoe UI"/>
  22. <Border x:Name="complete_wrapper" BorderBrush="#FFC8C8C8" BorderThickness="5" CornerRadius="10" Margin="8,0,8,8" Canvas.ZIndex="10">
  23. <StackPanel Margin="0">
  24. <TextBlock x:Name="complete_body" VerticalAlignment="Top" FontSize="16" Padding="7,6,7,0" HorizontalAlignment="Left" FontFamily="Segoe UI">
  25. <Run>Section complete!"</Run>
  26. </TextBlock>
  27. <StackPanel Margin="8" Orientation="Horizontal" d:LayoutOverrides="HorizontalAlignment">
  28. <Button x:Name="next_chapter" Content="Move onto next chapter" Padding="5" FontFamily="Segoe UI" FontSize="12"/>
  29. <TextBlock Margin="5,5,5,0" Text="or" TextWrapping="Wrap" Visibility="Collapsed"/>
  30. <Button Content="select another" Padding="3" Visibility="Collapsed"/>
  31. </StackPanel>
  32. </StackPanel>
  33. </Border>
  34. </StackPanel>
  35. </StackPanel>
  36. </UserControl>