Window
Summary
The window class, you can use it to show a window that can contain other chart controls
Signature
1 | |
Namespace
cAlgo.API
Methods
Show
Summary
Shows the window
Signature
1 | |
Return Value
void
Hide
Summary
Hides the window
Signature
1 | |
Return Value
void
Close
Summary
Closes the window
Signature
1 | |
Return Value
void
SilentUpdate
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| left | double | |
| top | double | |
| width | double | |
| height | double | |
| windowState | WindowState |
Return Value
void
SetIsActive
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| isActive | bool |
Return Value
void
SetIsVisible
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| isVisible | bool |
Return Value
void
RaiseClosed
Signature
1 | |
Return Value
void
RaiseLocationChanged
Signature
1 | |
Return Value
void
RaiseSizeChanged
Signature
1 | |
Return Value
void
ChangeToZeroIfNegative
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| value | double |
Return Value
double
Properties
Child
Summary
Get / Set the main content control of window
Signature
1 | |
Return Value
ControlBase
Left
Summary
Get / Set window left margin (X)
Signature
1 | |
Return Value
double
Top
Summary
Get / Set window top margin (Y)
Signature
1 | |
Return Value
double
Width
Summary
Get / Set width of the window
Signature
1 | |
Return Value
double
Height
Summary
Get / Set height of the Window
Signature
1 | |
Return Value
double
Title
Summary
Get / Set the window title
Signature
1 | |
Return Value
string
BackgroundColor
Summary
Get / Set the window background color
Signature
1 | |
Return Value
Color
Padding
Summary
Get / Set the window padding
Signature
1 | |
Return Value
Thickness
MinHeight
Summary
Get / Set the window minimum height
Signature
1 | |
Return Value
double
MaxHeight
Summary
Get / Set the window maximum height
Signature
1 | |
Return Value
double
MinWidth
Summary
Get / Set the window minimum width
Signature
1 | |
Return Value
double
MaxWidth
Summary
Get / Set the window maximum width
Signature
1 | |
Return Value
double
ResizeMode
Summary
Get / Set the window resize mode
Signature
1 | |
Return Value
ResizeMode
Related Tutorials
Topmost
Summary
Get / Set the window topmost flag, if True then the window will appear on top of all other windows
Signature
1 | |
Return Value
bool
WindowStartupLocation
Summary
Get / Set the window startup location
Signature
1 | |
Return Value
WindowStartupLocation
Related Tutorials
WindowState
Summary
Get / Set the window state
Signature
1 | |
Return Value
WindowState
Related Tutorials
IsActive
Summary
Get / Set the window active / de-active flag, if Yes then the window will be active
Signature
1 | |
Return Value
bool
IsVisible
Summary
Get / Set the window visibility flag, if Yes then the window will be shown otherwise it will be hidden
Signature
1 | |
Return Value
bool
OwnerType
Summary
Get / Set the window owner
Signature
1 | |
Return Value
OwnerType
Related Tutorials
Events
Closed
Summary
This event gets triggered when window is closed
Signature
1 | |
IsVisibleChanged
Summary
This event gets triggered when window visibility changes
Signature
1 | |
Activated
Summary
This event gets triggered when window is activated
Signature
1 | |
Deactivated
Summary
This event gets triggered when window is deactivated
Signature
1 | |
LocationChanged
Summary
This event gets triggered when window location changes
Signature
1 | |
SizeChanged
Summary
This event gets triggered when window is size changes
Signature
1 | |