Home Cooker Classes Others Rice CookerGX
Classes  >  window  >  Top
window class : Top getter

Description

Gets the position of the window's top edge on the desktop screen.

Syntax

windowInstance.Top

Arguments

None

Return value

ClassDescription
intThe position of the window's top edge.

Sample code

//anyWindow is a instance of window type.

int top = anyWindow.Top;

Notes

It's a wrapper of the System.Windows.Forms.Form.Top.

The return value is in pixels.

Links for reference

Copyright © Rice All rights reserved.