On my form, I have a TextBlock
element that initially is collapsed. (TextBlock.Visibility = Visibility.Collapsed
). When some error occurred, it should be shown. When I use TextBlock.Visibility = Visibility.Show
, all the controls that are situated under the TextBlock
, are getting down.
Question: How to dock all the elements that are situated under this TextBlock
in such a way that in case when the TextBlock
is shown, to lift the upper elements?