Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ListView SelectionMode="Multiple" HorizontalAlignment="Stretch">
- <ListView.ItemContainerStyle>
- <Style TargetType="ListViewItem">
- <Setter Property="IsSelected" Value="True"/>
- </Style>
- </ListView.ItemContainerStyle>
- <TextBox Width="200"/>
- <TextBox Width="200"/>
- <TextBox Width="200"/>
- <TextBox Width="200"/>
- <TextBox Width="200"/>
- </ListView>
- <ListView SelectionMode="Multiple">
- <ListView.ItemContainerStyle>
- <Style TargetType="ListViewItem">
- <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
- <Setter Property="ContentTemplate">
- <Setter.Value>
- <DataTemplate>
- <ListViewItem IsSelected="True" >
- <TextBox Height="30" Width="200" ></TextBox>
- </ListViewItem>
- </DataTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListView.ItemContainerStyle>
- <TextBox />
- <TextBox/>
- <TextBox/>
- <TextBox/>
- <TextBox/>
- </ListView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement