Window.MaxHeight
property · Window · cAlgo.API
DesktopCLICloud
Get / Set the window maximum 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 MaxHeight {get; set;}
window.MaxHeight: float
Returns double
Examples
var window = new Window { Title = "Resizable", Width = 300, Height = 250, MaxHeight = 600 };
window.Show();
Print("Maximum height: {0}", window.MaxHeight);
window = Window()
window.Title = "Resizable"
window.Width = 300
window.Height = 250
window.MaxHeight = 600
window.Show()
api.Print(f"Maximum height: {window.MaxHeight}")