Hi,@zequion.
The UI has been written in XAML but is not needed for the time being. You could set the control as follows.
Visibility="Collapsed": The control will not be rendered.
IsEnabled="False": The control will not be able to accept user input, but will still be rendered.
Opacity="0": The control exists but will not be rendered.
IsHitTestVisible="False": The control will not respond to any mouse events.
When not needed
<Button x:Name="MyButton" Content="Click Me" HorizontalAlignment="Center" VerticalAlignment="Center" IsEnabled="False" Opacity="0"
IsHitTestVisible="False" Visibility="Collapsed"/>
When needed
MyButton.Visibility = Visibility.Visible;
MyButton.IsEnabled = true;
MyButton.IsHitTestVisible = true;
MyButton.Opacity = 1;
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.