Skip to content

Window.Left

property · Window · cAlgo.API

DesktopCLICloud

Get / Set window left margin (X)

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

Returns double

Examples

var window = new Window { Title = "Positioned window", Width = 250, Height = 150, Left = 100, Top = 100 };
window.Show();
Print("Left: {0}", window.Left);
window = Window()
window.Title = "Positioned window"
window.Width = 250
window.Height = 150
window.Left = 100
window.Top = 100
window.Show()
api.Print(f"Left: {window.Left}")