NUnitForms Class Library

MouseController Members

MouseController overview

Public Instance Constructors

MouseController Constructor Creates and initialises a new instance of the class for the specified ControlTester.

Public Instance Properties

Position Gets or sets the mouse position.
PositionUnit Gets or sets the unit of measure used for mouse coordinates.

Public Instance Methods

ClickOverloaded. Simulate clicking on the control under test.
Dispose Releases the resources used by the MouseController.
DoubleClickOverloaded. Simulate double clicking on the control under test.
DragOverloaded. Simulate dragging the mouse.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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.
HoverOverloaded. Simulate hovering over the control under test.
PressOverloaded. Simulates pressing the MouseButtons or modifier Keys.
ReleaseOverloaded. Simulates releasing the MouseButtons or modifier Keys.
ToString (inherited from Object)Returns a String that represents the current Object.
UseOnOverloaded. Specify which control or form we should use for the relative position.

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

MouseController Class | NUnit.Extensions.Forms Namespace