C# Class LitDev.LDCursors

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Méthode Description
Arrow ( ) : void

Arrow Cursor (default).

ArrowCD ( ) : void

Arrow with CD Cursor.

CreateCursor ( Primitive imageName, Primitive xHotSpot, Primitive yHotSpot ) : Primitive

Create a cursor that can be set using SetUserCursor or SetShapeCursor. An ImageList image can be resized with LDImage.Resize.

Cross ( ) : void

Cross Cursor.

Hand ( ) : void

Hand Cursor.

Help ( ) : void

Help Cursor.

IBeam ( ) : void

IBeam Cursor.

Invalid ( ) : void

Invalid Cursor.

None ( ) : void

No Cursor.

Pen ( ) : void

Pen Cursor.

Scroll ( ) : void

Scroll Cursor.

SetShapeCursor ( Primitive shapeName, Primitive cursor ) : void

Set the cursor for a shape or control when the mouse is over the shape.

SetUserCursor ( Primitive cursor ) : void

Sets a custom cursor as a pointer in the Graphics Window.

SizeAll ( ) : void

Size All Cursor (Resizing).

SizeNESW ( ) : void

NESW DoubleArrow Cursor (Resizing).

SizeNS ( ) : void

NS DoubleArrow (Resizing).

SizeNWSE ( ) : void

NWSE DoubleArrow Cursor (Resizing).

SizeWE ( ) : void

WE DoubleArrow (Resizing).

Starting ( ) : void

Starting Cursor.

UpArrow ( ) : void

Up Arrow Cursor (Insertion).

Wait ( ) : void

Wait Cursor.

Private Methods

Méthode Description
createCursor ( Bitmap bmp, int xHotSpot, int yHotSpot ) : System.Windows.Input.Cursor
getCursor ( string cursor ) : System.Windows.Input.Cursor
setCursor ( System.Windows.Input.Cursor cursor ) : void
setCursor ( string shapeName, System.Windows.Input.Cursor cursor ) : void

Method Details

Arrow() public static méthode

Arrow Cursor (default).
public static Arrow ( ) : void
Résultat void

ArrowCD() public static méthode

Arrow with CD Cursor.
public static ArrowCD ( ) : void
Résultat void

CreateCursor() public static méthode

Create a cursor that can be set using SetUserCursor or SetShapeCursor. An ImageList image can be resized with LDImage.Resize.
public static CreateCursor ( Primitive imageName, Primitive xHotSpot, Primitive yHotSpot ) : Primitive
imageName Primitive The file path or ImageList image.
xHotSpot Primitive The x pixel to use as the hot spot.
yHotSpot Primitive The y pixel to use as the hot spot.
Résultat Primitive

Cross() public static méthode

Cross Cursor.
public static Cross ( ) : void
Résultat void

Hand() public static méthode

Hand Cursor.
public static Hand ( ) : void
Résultat void

Help() public static méthode

Help Cursor.
public static Help ( ) : void
Résultat void

IBeam() public static méthode

IBeam Cursor.
public static IBeam ( ) : void
Résultat void

Invalid() public static méthode

Invalid Cursor.
public static Invalid ( ) : void
Résultat void

None() public static méthode

No Cursor.
public static None ( ) : void
Résultat void

Pen() public static méthode

Pen Cursor.
public static Pen ( ) : void
Résultat void

Scroll() public static méthode

Scroll Cursor.
public static Scroll ( ) : void
Résultat void

SetShapeCursor() public static méthode

Set the cursor for a shape or control when the mouse is over the shape.
public static SetShapeCursor ( Primitive shapeName, Primitive cursor ) : void
shapeName Primitive The shape or control name.
cursor Primitive A cursor created with CreateCursor or /// a standard cursor in this object (e.g. "ArrowCD") or /// the full path to a *.cur or *.ani file to use as a cursor.
Résultat void

SetUserCursor() public static méthode

Sets a custom cursor as a pointer in the Graphics Window.
public static SetUserCursor ( Primitive cursor ) : void
cursor Primitive A cursor created with CreateCursor or /// a standard cursor in this object (e.g. "ArrowCD") or /// the full path to a *.cur or *.ani file to use as a cursor.
Résultat void

SizeAll() public static méthode

Size All Cursor (Resizing).
public static SizeAll ( ) : void
Résultat void

SizeNESW() public static méthode

NESW DoubleArrow Cursor (Resizing).
public static SizeNESW ( ) : void
Résultat void

SizeNS() public static méthode

NS DoubleArrow (Resizing).
public static SizeNS ( ) : void
Résultat void

SizeNWSE() public static méthode

NWSE DoubleArrow Cursor (Resizing).
public static SizeNWSE ( ) : void
Résultat void

SizeWE() public static méthode

WE DoubleArrow (Resizing).
public static SizeWE ( ) : void
Résultat void

Starting() public static méthode

Starting Cursor.
public static Starting ( ) : void
Résultat void

UpArrow() public static méthode

Up Arrow Cursor (Insertion).
public static UpArrow ( ) : void
Résultat void

Wait() public static méthode

Wait Cursor.
public static Wait ( ) : void
Résultat void