RequisitionsDock.xaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <UserControl x:Class="PRSDesktop.RequisitionsDock"
  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:PRSDesktop"
  7. mc:Ignorable="d"
  8. d:DesignHeight="800" d:DesignWidth="300">
  9. <Grid
  10. x:Name="_grid"
  11. Margin="2">
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="*"/>
  14. <RowDefinition Height="200"/>
  15. <RowDefinition Height="2*"/>
  16. </Grid.RowDefinitions>
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition Width="*"/>
  19. </Grid.ColumnDefinitions>
  20. <Border
  21. Grid.Row="1"
  22. Margin="0,2,0,0"
  23. BorderBrush="Gray"
  24. BorderThickness="0.75"
  25. Background="WhiteSmoke"
  26. Padding="4">
  27. <DockPanel>
  28. <TextBlock
  29. DockPanel.Dock="Top"
  30. Text="Request:"
  31. FontWeight="Bold"/>
  32. <TextBlock
  33. x:Name="_request"
  34. DockPanel.Dock="Top"
  35. Background="WhiteSmoke"
  36. Margin="0,4,0,0"
  37. TextWrapping="WrapWithOverflow"/>
  38. </DockPanel>
  39. </Border>
  40. </Grid>
  41. </UserControl>