csUnit Class Library

Control Members

Control overview

Public Static Methods

FromHandleOverloaded. Creates a new control object and attaches a window handle to it.

Public Instance Properties

ClassName Gets the window class name of the control.
Text Gets the caption of the control.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetButton Searches all immediate child windows and their child windows for a button with the specified name.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

Control Constructor Creates a control for the given handle. Create/associate controls calls of the overloads of the static method ControlFromHandle().

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Control Class | csUnit.Windows Namespace