DynamicContentDialog.xaml 1.1 KB

12345678910111213141516171819202122
  1. <Window x:Class="InABox.DynamicGrid.DynamicContentDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:InABox.DynamicGrid"
  7. mc:Ignorable="d" Height="450" Width="800">
  8. <Window.Resources>
  9. <Style TargetType="Button">
  10. <Setter Property="Width" Value="80"/>
  11. <Setter Property="Height" Value="35"/>
  12. <Setter Property="Margin" Value="5,5,0,0"/>
  13. </Style>
  14. </Window.Resources>
  15. <DockPanel Margin="5">
  16. <DockPanel x:Name="Buttons" DockPanel.Dock="Bottom" LastChildFill="False">
  17. <Button x:Name="Cancel" DockPanel.Dock="Right" Content="Cancel" Click="Cancel_OnClick"/>
  18. <Button x:Name="OK" DockPanel.Dock="Right" Content="OK" Click="OK_OnClick"/>
  19. </DockPanel>
  20. <ContentPresenter x:Name="Presenter" DockPanel.Dock="Top" />
  21. </DockPanel>
  22. </Window>