I've been struggling to properly re-dimensioning a pane and its child's only to find that setting Pane.PrefHeight or Pane.PrefWidth had no effect or not the effect I expected...
(In one case the layout simply didn't change, on another one, the Form itself changed instead of the pane)
So I thought... "Why not try SetLayoutAnimated, but with duration Zero?"
And so I did.... And the result was... nothing... the layout did not change! However, using one (1) as the duration DOES work!
(In one case the layout simply didn't change, on another one, the Form itself changed instead of the pane)
So I thought... "Why not try SetLayoutAnimated, but with duration Zero?"
And so I did.... And the result was... nothing... the layout did not change! However, using one (1) as the duration DOES work!