Skip to content

Window.Title

property · Window · cAlgo.API

DesktopCLICloud

Get / Set the window title

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 string Title {get; set;}
window.Title: str

Returns string

Examples

var window = new Window { Title = SymbolName + " order panel", Width = 300, Height = 200 };
window.Show();
Print("Window title: {0}", window.Title);
window = Window()
window.Title = f"{api.SymbolName} order panel"
window.Width = 300
window.Height = 200
window.Show()
api.Print(f"Window title: {window.Title}")