Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. <ListView SelectionMode="Multiple" HorizontalAlignment="Stretch">
  2. <ListView.ItemContainerStyle>
  3. <Style TargetType="ListViewItem">
  4. <Setter Property="IsSelected" Value="True"/>
  5. </Style>
  6. </ListView.ItemContainerStyle>
  7. <TextBox Width="200"/>
  8. <TextBox Width="200"/>
  9. <TextBox Width="200"/>
  10. <TextBox Width="200"/>
  11. <TextBox Width="200"/>
  12. </ListView>
  13.  
  14. <ListView SelectionMode="Multiple">
  15. <ListView.ItemContainerStyle>
  16. <Style TargetType="ListViewItem">
  17. <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
  18. <Setter Property="ContentTemplate">
  19. <Setter.Value>
  20. <DataTemplate>
  21. <ListViewItem IsSelected="True" >
  22. <TextBox Height="30" Width="200" ></TextBox>
  23. </ListViewItem>
  24. </DataTemplate>
  25. </Setter.Value>
  26. </Setter>
  27. </Style>
  28. </ListView.ItemContainerStyle>
  29. <TextBox />
  30. <TextBox/>
  31. <TextBox/>
  32. <TextBox/>
  33. <TextBox/>
  34. </ListView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement