ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
Button class
Represents a Win32 button on a window or a dialog.
Syntax
C#
public class Button : Window
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
ButtonNew(IntPtr, Int32)
Create a new button using its parent and its button id.
ButtonNew(IntPtr, String, Boolean)
Create a new button using a parent window and the button caption. Can use partial caption.
ButtonNew(Window, Int32)
Create a new button using the button id
ButtonNew(Window, String, Boolean)
Create a new button using a button text and parent window.
Caption
Gets the window's caption.
(Inherited from Window.)
ClassName
Gets the window's class name.
(Inherited from Window.)
Click()
Click this button
Close()
Close the window.
(Inherited from Window.)
Enabled
Gets whether this window is enabled or not.
(Inherited from Window.)
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(Rectangle)
Returns a bitmap of a specified target area within this window.
(Inherited from Window.)
GetHashCode()
The hash code is the window's hwnd.
(Inherited from Window.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Handle
Gets the handle of the window.
(Inherited from Window.)
Hide()
Hide the window.
(Inherited from Window.)
IsMaximized
Gets whether the window is maximized.
(Inherited from Window.)
IsMinimized
Gets whether the window is minimized.
(Inherited from Window.)
IsVisible
Gets whether the window is visible.
(Inherited from Window.)
Location
Gets the top left point of the location of the window relative to the screen.
(Inherited from Window.)
MakeRelative(Rectangle)
Make the absolute rects passed in relative to this window.
(Inherited from Window.)
Maximize()
Maximize the window
(Inherited from Window.)
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Minimize()
Minimize the window.
(Inherited from Window.)
Move(Rectangle, Boolean)
Move this window to a new location
(Inherited from Window.)
OwnerProcess
The owner process that created this window.
(Inherited from Window.)
Rectangle
Gets the rectangle of the window.
(Inherited from Window.)
SetActive()
Set this window to active.
(Inherited from Window.)
SetFocus()
Restores and Brings the window to the front, assuming it is a visible application window.
(Inherited from Window.)
Show()
Show this window and make it visible
(Inherited from Window.)
Size
Gets the size of the window.
(Inherited from Window.)
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Update()
Update the window. Invalidates all areas and forces a redraw.
(Inherited from Window.)
WaitForVisibility(Boolean, Int32)
Waits for a certain visibility state for a window
(Inherited from Window.)
WaitForVisibility(Boolean, Int32, Boolean)
Waits for a certain visibility state for a window
(Inherited from Window.)
Inheritance Hierarchy

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