123456789101112131415161718192021222324252627282930313233 |
- <UserControl x:Class="PRSDesktop.JobSelector"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PRSDesktop"
- xmlns:Syncfusion="http://schemas.syncfusion.com/wpf"
- mc:Ignorable="d"
- d:DesignHeight="600" d:DesignWidth="200">
- <Grid x:Name="JobGrid">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
-
- <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"/>
- <ComboBox Grid.Row="0" Grid.Column="1" x:Name="JobFilter" DisplayMemberPath="Name" VerticalContentAlignment="Stretch"
- SelectionChanged="JobFilter_Changed" VerticalAlignment="Stretch" Margin="2,0,2,0" />
- <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"/>
-
- <Syncfusion:CheckListBox Grid.Row="1" Grid.ColumnSpan="3" x:Name="SelectedJobs"
- IsSelectAllEnabled="False" IsCheckOnFirstClick="True" DisplayMemberPath="Name"
- Margin="0,2,0,0"
- ItemChecked="SelectedJobs_OnItemChecked" />
-
- </Grid>
- </UserControl>
|