Is there a 'RowSpan = "All"' in WPF

Posted by Chris Spicer on Stack Overflow See other posts from Stack Overflow or by Chris Spicer
Published on 2011-01-11T22:32:46Z Indexed on 2011/01/11 22:53 UTC
Read the original article Hit count: 173

Filed under:
|

Take for the following for example:

<GridSplitter Grid.Row="0" Grid.Column="1" Background="Yellow"
                   HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch" Width="Auto" Height="Auto"
                  Grid.RowSpan="3" ResizeDirection="Columns etc etc

This will create a GridSplitter across the 3 rows that I have in my grid. However, it's conceivable that I might add another row to my grid at a later stage, and I don't really want to go back and have all of my rowspans.

My first guess was Grid.RowSpan="*", but that doesn't compile. Does anyone know the answer to this off hand?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about rowspan