1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| <UserControl x:Class="WPFUserControls.ucRecherche"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="258" Width="641">
<Grid>
<TabControl Name="tcRecherche">
<TabItem Header="Standard">
<Grid>
<Label Height="28" HorizontalAlignment="Left" Margin="16,16,0,0" Name="lbNegationStd" VerticalAlignment="Top" Width="56">Négation</Label>
<Label Height="28" HorizontalAlignment="Left" Margin="74,16,0,0" Name="lbCriteresStd" VerticalAlignment="Top" Width="115">Champ de recherche</Label>
<Label Height="28" Margin="241,16,0,0" Name="lbTypeTestStd" VerticalAlignment="Top" HorizontalAlignment="Left" Width="115">Type de test</Label>
<Label Height="28" HorizontalAlignment="Left" Margin="400,16,0,0" Name="lbValeurStd" VerticalAlignment="Top" Width="115">Valeur</Label>
<ComboBox Height="23" HorizontalAlignment="Left" Margin="16,38,0,0" Name="cbNegationStd" VerticalAlignment="Top" Width="56">
<ComboBoxItem>-</ComboBoxItem>
<ComboBoxItem>Not</ComboBoxItem>
</ComboBox>
<TextBox Height="23" HorizontalAlignment="Right" Margin="0,38,88,0" Name="tbValeurStd" VerticalAlignment="Top" Width="135" />
<ListView x:Name="lvResultatAdv" Margin="0,81,0,0" ItemsSource="{Binding}" IsSynchronizedWithCurrentItem="True" BorderThickness="1,0,1,1">
<ListView.View>
<GridView>
<GridViewColumn DisplayMemberBinding="{Binding Path=ID}" Header="Id" Width="120"/>
<GridViewColumn DisplayMemberBinding="{Binding Path=REQUETE}" Header="Requete" Width="250"/>
<GridViewColumn DisplayMemberBinding="{Binding Path=NBLIG}" Header="Nombre de Lignes" Width="120"/>
<GridViewColumn Header="Prise en Compte" Width="50">
<GridViewColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding Path=ACTIF}"/>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
</GridView>
</ListView.View>
</ListView>
</Grid>
</TabItem>
<TabItem Header="Avancée" >
<Grid>
<Label Height="28" HorizontalAlignment="Left" Margin="16,16,0,0" Name="lbNegationAdv" VerticalAlignment="Top" Width="56">Négation</Label>
<Label Height="28" HorizontalAlignment="Left" Margin="74,16,0,0" Name="lbCriteresAdv" VerticalAlignment="Top" Width="115">Champ de recherche</Label>
<Label Height="28" Margin="241,16,0,0" Name="lbTypeTestAdv" VerticalAlignment="Top" HorizontalAlignment="Left" Width="115">Type de test</Label>
<Label Height="28" HorizontalAlignment="Left" Margin="400,16,0,0" Name="lbValeurAdv" VerticalAlignment="Top" Width="115">Valeur</Label>
<ComboBox Height="23" HorizontalAlignment="Left" Margin="16,38,0,0" Name="cbNegationAdv" VerticalAlignment="Top" Width="56">
<ComboBoxItem>-</ComboBoxItem>
<ComboBoxItem>Not</ComboBoxItem>
</ComboBox>
<TextBox Height="23" HorizontalAlignment="Right" Margin="0,38,88,0" Name="tbValeurAdv" VerticalAlignment="Top" Width="135" />
</Grid>
</TabItem>
</TabControl>
</Grid>
</UserControl> |
Partager