JobSelector.xaml 2.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <UserControl x:Class="PRSDesktop.JobSelector"
  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. xmlns:Syncfusion="http://schemas.syncfusion.com/wpf"
  8. mc:Ignorable="d"
  9. d:DesignHeight="600" d:DesignWidth="200">
  10. <Grid x:Name="JobGrid">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="Auto" />
  13. <RowDefinition Height="*" />
  14. </Grid.RowDefinitions>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="Auto" />
  17. <ColumnDefinition Width="*" />
  18. <ColumnDefinition Width="Auto" />
  19. </Grid.ColumnDefinitions>
  20. <Button x:Name="SelectAll" Grid.Row="0" Grid.Column="0" Content="None" Margin="0,0,0,0" Width="40" Height="25" Click="SelectAll_OnClick" BorderBrush="DimGray" BorderThickness="0.75"/>
  21. <ComboBox Grid.Row="0" Grid.Column="1" x:Name="JobFilter" DisplayMemberPath="Name" VerticalContentAlignment="Stretch"
  22. SelectionChanged="JobFilter_Changed" VerticalAlignment="Stretch" Margin="2,0,2,0" />
  23. <Button x:Name="JobFilterSelector" Grid.Row="0" Grid.Column="2" Content="Jobs" Margin="0,0,0,0" Width="40" Height="25" Click="JobFilterSelector_OnClick" BorderBrush="DimGray" BorderThickness="0.75"/>
  24. <Syncfusion:CheckListBox Grid.Row="1" Grid.ColumnSpan="3" x:Name="SelectedJobs"
  25. IsSelectAllEnabled="False" IsCheckOnFirstClick="True" DisplayMemberPath="Name"
  26. Margin="0,2,0,0"
  27. ItemChecked="SelectedJobs_OnItemChecked" />
  28. </Grid>
  29. </UserControl>