JobRequisitionHoldingsReview.xaml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <UserControl x:Class="PRSDesktop.JobRequisitionHoldingsReview"
  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="450" d:DesignWidth="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="auto"/>
  12. <RowDefinition Height="*"/>
  13. </Grid.RowDefinitions>
  14. <Grid Grid.Row="0">
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="*"/>
  17. <ColumnDefinition Width="*"/>
  18. <ColumnDefinition Width="*"/>
  19. <ColumnDefinition Width="*"/>
  20. </Grid.ColumnDefinitions>
  21. <TextBlock Grid.Column="0" Text="Job" HorizontalAlignment="Center"/>
  22. <TextBlock Grid.Column="1" x:Name="CurrentStyleText" HorizontalAlignment="Center"/>
  23. <TextBlock Grid.Column="2" Text="Stock of Mill/No Style" HorizontalAlignment="Center"/>
  24. <TextBlock Grid.Column="3" Text="Other Styles" HorizontalAlignment="Center"/>
  25. </Grid>
  26. <ListView x:Name="listView" Grid.Row="1" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
  27. <ListView.ItemTemplate>
  28. <DataTemplate>
  29. <Grid HorizontalAlignment="Stretch">
  30. <Grid.ColumnDefinitions>
  31. <ColumnDefinition Width="*"/>
  32. <ColumnDefinition Width="*"/>
  33. <ColumnDefinition Width="*"/>
  34. <ColumnDefinition Width="*"/>
  35. </Grid.ColumnDefinitions>
  36. <TextBlock Grid.Column="0" HorizontalAlignment="Center" Text="{Binding JobName}"/>
  37. <local:JobRequisitionTakeStockUserControl Grid.Column="1" HorizontalAlignment="Center" Value="100"/>
  38. <local:JobRequisitionTakeStockUserControl Grid.Column="2" HorizontalAlignment="Center" Value="100"/>
  39. <local:JobRequisitionTakeStockUserControl Grid.Column="3" HorizontalAlignment="Center" Value="100"/>
  40. </Grid>
  41. </DataTemplate>
  42. </ListView.ItemTemplate>
  43. </ListView>
  44. </Grid>
  45. </UserControl>