Skip to content

Window.MinWidth

property · Window · cAlgo.API

DesktopCLICloud

Get / Set the window minimum width

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

Returns double

Examples

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