1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <ListBox x:Name="PersonneOutProjet" Grid.Column="1" Grid.Row="4" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type local:Personne}">
<Grid Width="Auto" Margin="2,2,0,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25*" />
<ColumnDefinition Width="75*" />
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="1" Background="White" >
<TextBlock Foreground="#ffca0f" FontFamily="Comic Sans MS" FontSize="12" FontWeight="Bold" Width="176" TextWrapping="Wrap"
Text="{Binding Path=NOM_PERSONNE}" Margin="5,1,0,1"/>
<TextBlock x:Name="NomDuProjet" Foreground="Black" Text="{Binding Path=PRENOM_PERSONNE}" Margin="5,1,0,1" Width="176"
TextWrapping="Wrap" />
</StackPanel>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox> |
Partager