OwnerType
enum cAlgo.API
DesktopCLICloud
The types of owners for windows
Definition
public enum OwnerType
Namespace: cAlgo.API · Group: Windows
Examples
var window = new Window { Title = "Application owned", Width = 300, Height = 200, OwnerType = OwnerType.Application };
window.Show();
Print("Window owner: {0}", window.OwnerType);
window = Window()
window.Title = "Application owned"
window.Width = 300
window.Height = 200
window.OwnerType = OwnerType.Application
window.Show()
api.Print(f"Window owner: {window.OwnerType}")
Values
| Name | Value | Description |
|---|---|---|
None | 0 | The default owner type, which means the window has no owner |
Chart | 1 | The chart owns the window |
Application | 2 | The application main window owns the window |