Dynamic height when switching views

Right now I have two views with a couple of buttons below them.

I only want 1 view visible at any given time.

Based on what buttons the user presses I hide the views, and I want them to take up the full vertical space (except for the buttons at the bottom).

Right now when I have them in a Grid and set height to *, they take up about 50% of the vertical space -even when the other view's IsVisible == false.

How do I get them to occupy the full vertical space and yet all the user to switch between them?

Best Answer

Answers

  • MicahHooverMicahHoover USMember ✭✭

    JulienRosen nailed it, but anyone who wants to see a little more explanation can go here. Basically set the same row or column indexes to different elements.

Sign In or Register to comment.