Skip to content

Window

Summary

The window class, you can use it to show a window that can contain other chart controls

Signature

1
public sealed class Window

Namespace

cAlgo.API

Methods

Name Description
Show Shows the window
Hide Hides the window
Close Closes the window

Properties

Name Description
Child { get; set; } Get / Set the main content control of window
Left { get; set; } Get / Set window left margin (X)
Top { get; set; } Get / Set window top margin (Y)
Width { get; set; } Get / Set width of the window
Height { get; set; } Get / Set height of the Window
Title { get; set; } Get / Set the window title
BackgroundColor { get; set; } Get / Set the window background color
Padding { get; set; } Get / Set the window padding
MinHeight { get; set; } Get / Set the window minimum height
MaxHeight { get; set; } Get / Set the window maximum height
MinWidth { get; set; } Get / Set the window minimum width
MaxWidth { get; set; } Get / Set the window maximum width
ResizeMode { get; set; } Get / Set the window resize mode
Topmost { get; set; } Get / Set the window topmost flag, if True then the window will appear on top of all other windows
WindowStartupLocation { get; set; } Get / Set the window startup location
WindowState { get; set; } Get / Set the window state
IsActive { get; } Get / Set the window active / de-active flag, if Yes then the window will be active
IsVisible { get; } Get / Set the window visibility flag, if Yes then the window will be shown otherwise it will be hidden
OwnerType { get; set; } Get / Set the window owner

Events

Name Description
Closed This event gets triggered when window is closed
IsVisibleChanged This event gets triggered when window visibility changes
Activated This event gets triggered when window is activated
Deactivated This event gets triggered when window is deactivated
LocationChanged This event gets triggered when window location changes
SizeChanged This event gets triggered when window is size changes

Last update: July 26, 2022

Comments