Table of Contents

Class Cursor

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

A cursor is a small bitmap usually used for denoting where the mouse pointer is, with a picture that might indicate the interpretation of a mouse click.

public class Cursor : HandledObject<ICursorHandler>, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged
Inheritance
Cursor
Implements

Constructors

Cursor()

Initializes a new instance of the Cursor class.

Cursor(GenericImage, int, int)

Initializes a new instance of the Cursor class from an image.

Cursor(Image, int, int)

Initializes a new instance of the Cursor class from an image.

Cursor(CursorType)

Initializes a new instance of the Cursor class using a cursor identifier.

Cursor(ICursorHandler)

Initializes a new instance of the Cursor class.

Cursor(Stream, BitmapType)

Initializes a new instance of the Cursor class from a stream.

Cursor(string, BitmapType, int, int)

Initializes a new instance of the Cursor class by passing a filename.

Properties

AllowCustomCursors

Gets or sets whether custom cursors are allowed. Default is true.

Factory

Gets or sets factory handler.

HotSpot

Gets hot spot of the cursor.

IsOk

Returns true if cursor data is present.

Methods

CreateHandler()

Creates handler.

IsStandardCursorWindows(CursorType)

Gets whether the specified cursor is Windows standard cursor (is provided by the OS).