DeckViewEdit.xaml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <localView:UserControlBase x:Class="VocabManager.View.DeckViewEdit"
  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. xmlns:local="clr-namespace:VocabManager"
  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. <Grid x:Name="LayoutRoot">
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="auto"></RowDefinition>
  16. <RowDefinition></RowDefinition>
  17. <!--<RowDefinition Height="auto"></RowDefinition>-->
  18. </Grid.RowDefinitions>
  19. <Grid>
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="auto"></RowDefinition>
  22. <RowDefinition></RowDefinition>
  23. </Grid.RowDefinitions>
  24. <ContentControl Style="{StaticResource TitleStyle}" Content="Name" ></ContentControl>
  25. <!--<TextBlock Text="Name" Opacity=".8" FontSize="20"></TextBlock>-->
  26. <TextBox AcceptsReturn="True" Text="{Binding Path= Name,Mode=TwoWay}" Grid.Row="1" ></TextBox>
  27. </Grid>
  28. <Grid Grid.Row="1">
  29. <Grid.RowDefinitions>
  30. <RowDefinition Height="auto"></RowDefinition>
  31. <RowDefinition></RowDefinition>
  32. </Grid.RowDefinitions>
  33. <ContentControl Style="{StaticResource TitleStyle}" Content="Description" ></ContentControl>
  34. <TextBox AcceptsReturn="True" Text="{Binding Path=Description, Mode=TwoWay}" Grid.Row="1" Padding="0" Margin="0"></TextBox>
  35. </Grid>
  36. <!--<StackPanel Grid.Row="2" Orientation="Horizontal">
  37. <Button Content="Save" Command="{Binding SaveCommand}"></Button>
  38. <Button Content="Cancel" Command="{Binding CancelEditCommand}"></Button>
  39. </StackPanel>-->
  40. </Grid>
  41. </localView:UserControlBase >