I'm trying to hide elements in UWP but i can't reserve its space.
I've tried to change Visibility but there is no option to set Visibility to Hidden.
I can only set Visibility to Visible or Collapsed.
Would anyone know how to do this in UWP?.
One solution is to modify the brush to be empty when the control is disabled.
If it is a general control, you can modify the style of the control with
VisualStateManagerwhen it is disabled.Take the button control as an example.
<VisualState x:Name="Disabled">.When you need to hide it, set the control to Disabled.