System.Windows.Forms.Cursor Members

The members of System.Windows.Forms.Cursor are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Windows.Forms.Cursor class from the specified Windows handle.

Initializes a new instance of the System.Windows.Forms.Cursor class from the specified data stream.

Initializes a new instance of the System.Windows.Forms.Cursor class from the specified file.

Initializes a new instance of the System.Windows.Forms.Cursor class from the specified resource with the specified resource type.

Public Properties

static
ClipSystem.Drawing.Rectangle.

Gets or sets the bounds that represent the clipping rectangle for the cursor.

static
CurrentCursor.

Gets or sets a cursor object that represents the mouse cursor.

[read-only]
HandleIntPtr.

Gets the handle of the cursor.

[read-only]
HotSpotSystem.Drawing.Point.

Gets the cursor hot spot.

static
PositionSystem.Drawing.Point.

Gets or sets the cursor's position.

[read-only]
SizeSystem.Drawing.Size.

Gets the size of the cursor object.

Tagobject.

Gets or sets the object that contains data about the System.Windows.Forms.Cursor.

Public Methods

CopyHandle() : IntPtr

Copies the handle of this System.Windows.Forms.Cursor.

Dispose()

Releases all resources used by the System.Windows.Forms.Cursor.

Draw(System.Drawing.Graphics, System.Drawing.Rectangle)

Draws the cursor on the specified surface, within the specified bounds.

DrawStretched(System.Drawing.Graphics, System.Drawing.Rectangle)

Draws the cursor in a stretched format on the specified surface, within the specified bounds.

override
Equals(object) : bool

Returns a value indicating whether this cursor is equal to the specified System.Windows.Forms.Cursor.

Finalize()
Documentation for this section has not yet been entered.
override
GetHashCode() : int

Retrieves the hash code for the current System.Windows.Forms.Cursor.

static
Hide()

Hides the cursor.

static
Show()

Displays the cursor.

override
ToString() : string

Retrieves a human readable string representing this System.Windows.Forms.Cursor.

Public Operators

static
Equality(Cursor, Cursor)

Returns a value indicating whether two instances of the System.Windows.Forms.Cursor class are equal.

static
Inequality(Cursor, Cursor)

Returns a value indicating whether two instances of the System.Windows.Forms.Cursor class are not equal.

Explicitly Implemented Interface Members