Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Create Grid in numerous Listview Columns (xaml)

$
0
0

How do I create a grid in different columns in Listview?  The below code puts the grid in the last column.  How can I put it in the first column?

Here's the result of the below code:

<Grid><ListView Grid.Row="1" Grid.Column="2" Name="LView2" Margin="20" ><ListView.View><GridView><GridViewColumn Header="Col One" /><GridViewColumn Header="Col Two" /><GridViewColumn Header="Col Three" /></GridView></ListView.View><ListViewItem Content="aaa" /><ListViewItem ><Grid ShowGridLines="True"><Grid.RowDefinitions><RowDefinition Height="30"></RowDefinition><RowDefinition Height="30"></RowDefinition><RowDefinition Height="30"></RowDefinition></Grid.RowDefinitions><Grid.ColumnDefinitions><ColumnDefinition Width="30"></ColumnDefinition><ColumnDefinition Width="50"></ColumnDefinition><ColumnDefinition Width="30"></ColumnDefinition></Grid.ColumnDefinitions><Ellipse Grid.Column="1" Grid.Row="1" Fill="Blue" ToolTip="Blue Ball" /></Grid></ListViewItem><ListViewItem Content="ccc" /></Grid>




Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>