NotePopup.xaml 1.4 KB

1234567891011121314151617181920212223242526
  1. <wpf:ThemableWindow x:Class="InABox.DynamicGrid.NotePopup"
  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:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
  7. mc:Ignorable="d"
  8. Title="Edit Notes" Height="450" Width="800" WindowStartupLocation="CenterOwner">
  9. <Grid Margin="5">
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="*" />
  12. <ColumnDefinition Width="80" />
  13. <ColumnDefinition Width="80" />
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="Auto" />
  17. <RowDefinition Height="*" />
  18. <RowDefinition Height="40" />
  19. </Grid.RowDefinitions>
  20. <Label x:Name="Heading" Content=" " Grid.ColumnSpan="3" Margin="5" HorizontalContentAlignment="Center" />
  21. <TextBox x:Name="Editor" Grid.Row="1" Grid.ColumnSpan="3" TextWrapping="Wrap" Margin="5,0,5,5"
  22. AcceptsReturn="True" Background="LightYellow" />
  23. <Button x:Name="OK" Content="OK" Grid.Row="2" Grid.Column="1" Click="OK_Click" Margin="0,0,5,5" />
  24. <Button x:Name="Cancel" Content="Cancel" Grid.Row="2" Grid.Column="2" Click="Cancel_Click" Margin="0,0,5,5" />
  25. </Grid>
  26. </wpf:ThemableWindow>