Export (0) Print
Expand All

Cursor Members

Cursor overview

Public Constructors

public constructorCursor Constructor Overloaded. Initializes a new instance of the Cursor class.

Public Properties

public propertystatic (Shared in Visual Basic)Clip Gets or sets the bounds that represents the clipping rectangle for the cursor.
public propertystatic (Shared in Visual Basic)Current

Supported by the .NET Compact Framework.

Gets or sets a cursor object that represents the mouse cursor.
public propertyHandle Gets the handle of the cursor.
public propertystatic (Shared in Visual Basic)Position Gets or sets the cursor's position.
public propertySize Gets the size of the cursor object.

Public Methods

public methodCopyHandle Copies the handle of this Cursor.
public methodDispose Releases all resources used by the Cursor.
public methodDraw Draws the cursor on the specified surface, within the specified bounds.
public methodDrawStretched Draws the cursor in a stretched format on the specified surface, within the specified bounds.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Returns a value indicating whether this cursor is equal to the specified Cursor.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. See Object.GetHashCode.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)Hide

Supported by the .NET Compact Framework.

Hides the cursor.
public methodstatic (Shared in Visual Basic)Show

Supported by the .NET Compact Framework.

Displays the cursor.
public methodToString

Supported by the .NET Compact Framework.

Overridden. See Object.ToString.

Public Operators

public operatorstatic (Shared in Visual Basic)Equality Operator Returns a value indicating whether two instances of the Cursor class are equal.
public operatorstatic (Shared in Visual Basic)Inequality Operator Returns a value indicating whether two instances of the Cursor class are not equal.

Protected Methods

protected methodFinalize

Supported by the .NET Compact Framework.

Overridden. Releases the unmanaged resources and performs other cleanup operations before the Cursor is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Cursor Class | System.Windows.Forms Namespace

Show:
© 2015 Microsoft