I have a listview with the header checklist and state. For every new listview item there is a checkbox item for the checklist column.
Now i want to add automatically a textbox control in the state column for every new listview item.
Here is the Code:
<Window
xmlns="http://ift.tt/o66D3f"
xmlns:x="http://ift.tt/mPTqtT"
xmlns:d="http://ift.tt/pHvyf2" xmlns:mc="http://ift.tt/pzd6Lm" mc:Ignorable="d"
x:Class="SE_TPM.MainWindow"
x:Name="Window"
Title="MainWindow"
Width="1280" Height="720">
<Grid x:Name="LayoutRoot">
<ListView Margin="0,87,0,73" FontSize="21.333">
<ListView.View>
<GridView>
<GridView.Columns>
<GridViewColumn>
<GridViewColumn.CellTemplate>
<DataTemplate>
<CheckBox Tag="{Binding CHECK}">
</CheckBox>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
<GridViewColumn Width="900" Header="Checklist"/>
<GridViewColumn Width="200" Header="State" DisplayMemberBinding="{Binding CHECK}"/>
</GridView.Columns>
</GridView>
</ListView.View>
<ListViewItem Content="TP gekennzeichnet?" Margin="0" FontSize="32"/>
</ListView>
</Grid>
Thanks for your help.
Aucun commentaire:
Enregistrer un commentaire