Home Cooker Classes Others Rice
Classes  >  window
window class

Description

Represents the application window.

Notes

It is a class that is statically included in the Cooker.

Please note that the instance obtained from the variable declaration has already been initialized.

fitter

SignatureDescription
window()

Get a new instance of window class.

getter

SignatureDescription
CanResize

Gets a value indicating whether the window size can be changed.

Fitted

Gets the value that indicates whether this instance was already initialized.

Height

Gets the height of the window. In device independent pixel.

IsMaximized

Gets the value that indicates whether the window is maximized.

IsMinimized

Gets the value that indicates whether the window is minimized.

IsNormal

Gets the value that indicates whether the window is normal state.

Left

Gets the position of the window's left edge on the desktop screen. In device independent pixel.

Top

Gets the position of the window's top edge on the desktop screen. In device independent pixel.

TopMost

Gets a value that indicates whether the window will always be displayed foreground of the desktop screen.

TypeName

Gets the type name.

Width

Gets the width of the window. In device independent pixel.

setter

SignatureDescription
CanResize(bool)

Sets a value indicating whether the window size can be changed.

Height(real or int)

Sets the height of the window. In device independent pixel.

Left(real or int)

Sets the position of the window's left edge on the desktop screen. In device independent pixel.

Top(real or int)

Sets the position of the window's top edge on the desktop screen. In device independent pixel.

TopMost(bool)

Sets a value that indicates whether the window will always be displayed foreground of the desktop screen.

Width(real or int)

Sets the width of the window. In device independent pixel.

method

SignatureDescription
Close()

Closes the window.

Maximize()

Maximize the window.

Minimize()

Minimize the window.

Normalize()

Change the window to a normal state.

event

SignatureDescription
Activated(class,string)

Assigns an event handler to the "Activated" event.

Closed(class,string)

Assigns an event handler to the "Closed" event.

Closing(class,string)

Assigns an event handler to the "Closing" event.

Deactivated(class,string)

Assigns an event handler to the "Deactivated" event.

LocationChanged(class,string)

Assigns an event handler to the "LocationChanged" event.

SizeChanged(class,string)

Assigns an event handler to the "SizeChanged" event.

Copyright © Rice All rights reserved.