How to resize WPF Listview proportionally?

Place your ListView inside a Grid, and use the "*" width feature for the column.

Place your ListView inside a Grid, and use the "*" width feature for the column: ... Column 0 in this example has a width of "4*" and column 1 has the default width of "1*". That means that between them they share a width of "five stars" and column 0 takes four of them. That gives you an 80% width.

– woodykiddy Jun 14 at 4:21 Yes, just leave off the width attribute and let it fill the column. Likewise for height if you define rows in the grid and want it to autosize vertically. – Matt Hamilton Jun 14 at 4:23 What else do I have to change, say, if I wrap Listview with StackPanel?

Seems StackPanel doesn't accept the '*'. – woodykiddy Jun 14 at 4:33 The StackPanel (or ListView) isn't the thing that has the "*" width - the ColumnDefinition is. You shouldn't be specifying a width on the child element.

– Matt Hamilton Jun 14 at 5:24.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions