JobSelector.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031
  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. </Grid.ColumnDefinitions>
  19. <Button x:Name="JobFilterSelector" Grid.Row="0" Grid.Column="0" Content="Jobs" Margin="0,0,0,0" Padding="4,0" Height="25" Click="JobFilterSelector_OnClick"/>
  20. <ComboBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" x:Name="JobFilter" DisplayMemberPath="Name" VerticalContentAlignment="Stretch"
  21. SelectionChanged="JobFilter_Changed" VerticalAlignment="Stretch" Margin="5,0,0,0" />
  22. <Syncfusion:CheckListBox Grid.Row="1" Grid.ColumnSpan="2" x:Name="SelectedJobs"
  23. IsSelectAllEnabled="False" IsCheckOnFirstClick="True" DisplayMemberPath="Name"
  24. Margin="0,4,0,0"
  25. ItemChecked="SelectedJobs_OnItemChecked" />
  26. </Grid>
  27. </UserControl>