RequisitionsDock.xaml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <Grid.RowDefinitions>
  12. <RowDefinition Height="Auto"/>
  13. <RowDefinition Height="150"/>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="Auto"/>
  16. <RowDefinition Height="Auto"/>
  17. <RowDefinition Height="200"/>
  18. <RowDefinition Height="*"/>
  19. </Grid.RowDefinitions>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="*"/>
  22. <ColumnDefinition Width="Auto"/>
  23. </Grid.ColumnDefinitions>
  24. <Border
  25. Grid.Row="0"
  26. Grid.Column="0"
  27. BorderBrush="Gray"
  28. BorderThickness="0.75"
  29. Background="WhiteSmoke">
  30. <Label
  31. Content="My Requsitions"
  32. HorizontalContentAlignment="Center"/>
  33. </Border>
  34. <Button
  35. Grid.Row="0"
  36. Grid.Column="1"
  37. Content="Add"
  38. Margin="2,0,0,0"
  39. Padding="5,0"
  40. BorderBrush="Gray"
  41. BorderThickness="0.75"/>
  42. <Border
  43. Grid.Row="2"
  44. Grid.Column="0"
  45. Grid.ColumnSpan="2"
  46. Margin="0,2,0,0"
  47. BorderBrush="Gray"
  48. BorderThickness="0.75,0.75,0.75,0"
  49. Background="WhiteSmoke">
  50. <Label
  51. Content="Requisition Title"
  52. HorizontalContentAlignment="Center"/>
  53. </Border>
  54. <TextBox
  55. x:Name="Title"
  56. Grid.Row="3"
  57. Grid.Column="0"
  58. Grid.ColumnSpan="2"
  59. Background="LightYellow"
  60. Padding="5"
  61. IsEnabled="False"
  62. BorderBrush="Gray"
  63. LostFocus="Title_OnLostFocus"/>
  64. <Border
  65. Grid.Row="4"
  66. Grid.Column="0"
  67. Grid.ColumnSpan="2"
  68. Margin="0,2,0,0"
  69. BorderBrush="Gray"
  70. BorderThickness="0.75,0.75,0.75,0"
  71. Background="WhiteSmoke">
  72. <Label
  73. Content="Requisition Description"
  74. HorizontalContentAlignment="Center"/>
  75. </Border>
  76. <TextBox
  77. x:Name="Notes"
  78. Grid.Row="5"
  79. Grid.Column="0"
  80. Grid.ColumnSpan="2"
  81. Padding="5"
  82. IsEnabled="False"
  83. Background="LightYellow"
  84. BorderBrush="Gray"
  85. TextWrapping="WrapWithOverflow"
  86. LostFocus="Notes_OnLostFocus"/>
  87. </Grid>
  88. </UserControl>