Window.Hide
method · Window · cAlgo.API
DesktopCLICloud
Hides the window
Environment behaviour
CLI — not supported. Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.
Cloud — not supported. Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.
Definition
public void Hide()
window.Hide() -> None
Examples
var window = new Window { Title = "Temporary", Width = 250, Height = 120 };
var hideButton = new Button { Text = "Hide" };
hideButton.Click += args => window.Hide();
window.Child = hideButton;
window.Show();
window = Window()
window.Title = "Temporary"
window.Width = 250
window.Height = 120
hideButton = Button()
hideButton.Text = "Hide"
hideButton.Click += lambda args: window.Hide()
window.Child = hideButton
window.Show()