Skip to content

Window.MinHeight

property · Window · cAlgo.API

DesktopCLICloud

Get / Set the window minimum height

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 double MinHeight {get; set;}
window.MinHeight: float

Returns double

Examples

var window = new Window { Title = "Resizable", Width = 300, Height = 250, MinHeight = 150 };
window.Show();
Print("Minimum height: {0}", window.MinHeight);
window = Window()
window.Title = "Resizable"
window.Width = 300
window.Height = 250
window.MinHeight = 150
window.Show()
api.Print(f"Minimum height: {window.MinHeight}")