Name

Cursors

Synopsis

This class provides a set of standard cursors, such as the Hand, WaitCursor, and IBeam for you to use. In addition, there is the special Default cursor that allows you to restore the default appearance after you have set a custom Cursor for a Control, or changed the Cursor.Current value.


public sealed class Cursors {

// Public Static Properties

   public static Cursor AppStarting{get; }

   public static Cursor Arrow{get; }

   public static Cursor Cross{get; }

   public static Cursor Default{get; }

   public static Cursor Hand{get; }

   public static Cursor Help{get; }

   public static Cursor HSplit{get; }

   public static Cursor IBeam{get; }

   public static Cursor No{get; }

   public static Cursor NoMove2D{get; }

   public static Cursor NoMoveHoriz{get; }

   public static Cursor NoMoveVert{get; }

   public static Cursor PanEast{get; }

   public static Cursor PanNE{get; }

   public static Cursor PanNorth{get; }

   public static Cursor PanNW{get; }

   public static Cursor PanSE{get; }

   public static Cursor PanSouth{get; }

   public static Cursor PanSW{get; }

   public static Cursor PanWest{get; }

   public static Cursor SizeAll{get; }

   public static Cursor SizeNESW{get; }

   public static Cursor SizeNS{get; }

   public static Cursor SizeNWSE{get; }

   public static Cursor SizeWE{get; }

   public static Cursor UpArrow{get; }

   public static Cursor VSplit{get; }

   public static Cursor WaitCursor{get; }

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.