Add-GridRow

Oct 24, 2013 at 4:19 PM
Hello!

I'd like to add a row to a Grid (created with New-Grid) and think I can use Add-GridRow. What do I have to hand over in the row parameter? The parameter validation always fails. I am trying to hand over a Stackpanel right now. Not idea what else to hand over as no "New-GridRow" function seems to exist.

How to add another row?

Thank you!
Sandro
Coordinator
Nov 7, 2013 at 6:50 PM
It's not very well documented, I apologize, (I didn't write that function), but look at the example:

Get-Help Add-GridRow -Full

The Row parameter for Add-GridRow is the same as the -Rows parameter on New-Grid: it takes row widths like "100" or "*" or "Auto"
Marked as answer by Jaykul on 11/14/2013 at 2:55 PM
Nov 8, 2013 at 3:38 PM
Aaaah, there the examples are as well... :-)

Found that on show-ui.com as well after some more search. Thanks!!!