I was looking for the answer of this, but all solutions I've found was not working properly.
Here is the problem. I have interface,based on grid like the below:
| __________________________________|
|(v)expander |(v)expander |(v)expander | <- grid inside the row of main grid
|___________________________________|
| |
| |
| |
. . <- grid, stackpanel, etc. inside row
. .
. .
| |
|___________________________________|
|(^)expander | (^) expander | | <- grid inside the row of main grid
|___________________________________|
Each expander is placed on it's own border.
Now I want expanders to expand over the rest of interface. Top expanders expand down, bottom ones - up. I can't use RowSpan. It should be done with zIndex somehow I guess, but I was trying with that in a lot and didn't work. I set all grids and borders Panel.ZIndex property to let's say 99, and the content of expander was set on ZIndex about 999.
Is there any way to do it?
Thanks,
Joe