Correct xaml

This commit is contained in:
Administrator 2018-10-08 09:10:00 +02:00
parent c22532266a
commit 2498ca4ec5
1 changed files with 5 additions and 5 deletions

View File

@ -37,11 +37,11 @@
</ListView.View> </ListView.View>
</ListView> </ListView>
<ListBox Name="lbPersonnes" Width="150" ItemsSource="{Binding Path=LstPers}" DisplayMemberPath="Nom" Margin="5"/> <ListBox Name="lbPersonnes" Width="150" ItemsSource="{Binding Path=LstPers}" DisplayMemberPath="Nom" Margin="5"/>
</StackPanel>
<StackPanel Name="ZOneEdition" Margin="5"> <StackPanel Name="ZOneEdition" Margin="5">
<TextBox Width="120" Template="{Binding ElementName=ListePersonnes, Path=SelectedItem.ID}" /> <TextBox Width="120" Text="{Binding ElementName=ListePersonnes, Path=SelectedItem.ID}" />
<TextBox Width="120" Template="{Binding ElementName=ListePersonnes, Path=SelectedItem.Pre}" /> <TextBox Width="120" Text="{Binding ElementName=ListePersonnes, Path=SelectedItem.Pre}" />
<TextBox Width="120" Template="{Binding ElementName=ListePersonnes, Path=SelectedItem.Nom}" /> <TextBox Width="120" Text="{Binding ElementName=ListePersonnes, Path=SelectedItem.Nom}" />
</StackPanel>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Window> </Window>