ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
Window class
Class representing a Win32 Window.
Syntax
C#
public class Window
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
WindowNew(IntPtr)
Constructs a new instance of this class for the specified Window Handle.
Caption
Gets the window's caption.
ClassName
Gets the window's class name.
Close()
Close the window.
Enabled
Gets whether this window is enabled or not.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetBitmap()
Capture the entire window bitmap and returns it.
GetBitmap(Rectangle)
Returns a bitmap of a specified target area within this window.
GetHashCode()
The hash code is the window's hwnd.
(Overrides Object.GetHashCode().)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Handle
Gets the handle of the window.
Hide()
Hide the window.
IsMaximized
Gets whether the window is maximized.
IsMinimized
Gets whether the window is minimized.
IsVisible
Gets whether the window is visible.
Location
Gets the top left point of the location of the window relative to the screen.
MakeRelative(Rectangle)
Make the absolute rects passed in relative to this window.
Maximize()
Maximize the window
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Minimize()
Minimize the window.
Move(Rectangle, Boolean)
Move this window to a new location
OwnerProcess
The owner process that created this window.
Rectangle
Gets the rectangle of the window.
SetActive()
Set this window to active.
SetFocus()
Restores and Brings the window to the front, assuming it is a visible application window.
Show()
Show this window and make it visible
Size
Gets the size of the window.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Update()
Update the window. Invalidates all areas and forces a redraw.
WaitForVisibility(Boolean, Int32)
Waits for a certain visibility state for a window
WaitForVisibility(Boolean, Int32, Boolean)
Waits for a certain visibility state for a window
Inheritance Hierarchy

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)