DeckViewInfoMode.xaml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <localView:UserControlBase
  2. x:Class="VocabManager.View.DeckViewInfoMode"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. xmlns:localView="clr-namespace:VocabManager.View"
  8. mc:Ignorable="d"
  9. FontFamily="{StaticResource PhoneFontFamilyNormal}"
  10. FontSize="{StaticResource PhoneFontSizeNormal}"
  11. Foreground="{StaticResource PhoneForegroundBrush}"
  12. d:DesignHeight="800" d:DesignWidth="480"
  13. >
  14. <Grid x:Name="LayoutRoot" >
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="Auto" ></RowDefinition>
  17. <RowDefinition Height="Auto" ></RowDefinition>
  18. <RowDefinition Height="*"></RowDefinition>
  19. <RowDefinition Height="auto"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <ContentControl Style="{StaticResource TitleStyle}" Content="{Binding Path=Name}" HorizontalContentAlignment="Center" ></ContentControl>
  22. <ContentControl FontSize="20" Style="{StaticResource Body}" Foreground="White" Grid.Row="1" Padding="5" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" >
  23. <Border >
  24. <Grid >
  25. <Grid.RowDefinitions>
  26. <RowDefinition></RowDefinition>
  27. <RowDefinition></RowDefinition>
  28. </Grid.RowDefinitions>
  29. <Border Padding="4">
  30. <Grid>
  31. <Grid.ColumnDefinitions>
  32. <ColumnDefinition Width="auto"></ColumnDefinition>
  33. <ColumnDefinition></ColumnDefinition>
  34. </Grid.ColumnDefinitions>
  35. <TextBlock Text="Number of Cards : "></TextBlock>
  36. <TextBlock Grid.Column="1" Text="{Binding Path=CardItems.SourceCollection.Count}"></TextBlock>
  37. </Grid>
  38. </Border>
  39. <Border Grid.Row="1" Padding="4">
  40. <Grid>
  41. <Grid.ColumnDefinitions>
  42. <ColumnDefinition Width="auto"></ColumnDefinition>
  43. <ColumnDefinition></ColumnDefinition>
  44. </Grid.ColumnDefinitions>
  45. <TextBlock Text="Time of Creation : "></TextBlock>
  46. <TextBlock Grid.Column="1" Text="{Binding CreationTime}"></TextBlock>
  47. </Grid>
  48. </Border>
  49. </Grid>
  50. </Border>
  51. </ContentControl>
  52. <Grid Grid.Row="2">
  53. <Grid.RowDefinitions>
  54. <RowDefinition Height="auto"></RowDefinition>
  55. <RowDefinition></RowDefinition>
  56. </Grid.RowDefinitions>
  57. <ContentControl Style="{StaticResource TitleStyle}" Content="Description" HorizontalContentAlignment="Center" ></ContentControl>
  58. <ContentControl Grid.Row="1" VerticalAlignment="Stretch" Padding="8" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"
  59. Style="{StaticResource Body}" FontSize="20" Foreground="White" Content="{Binding Path=Description}">
  60. </ContentControl>
  61. </Grid>
  62. <Border
  63. Background="Black" Grid.Row="3">
  64. <Button Foreground="White" Padding="10" Margin="12" Content="Review" Command="{Binding Path=ReviewCommand}"></Button>
  65. </Border>
  66. </Grid>
  67. </localView:UserControlBase>