69 references to CursorType
PresentationCore (69)
System\Windows\Input\Cursor.cs (9)
24internal Cursor(CursorType cursorType) 127internal CursorType CursorType 304private void LoadCursorHelper(CursorType cursorType) 306if (cursorType != CursorType.None) 331private bool IsValidCursorType(CursorType cursorType) 333return ((int)cursorType >= (int)CursorType.None && (int)cursorType <= (int)CursorType.ArrowCD); 337private CursorType _cursorType = CursorType.None;
System\Windows\Input\CursorConverter.cs (30)
106CursorType ct = Enum.Parse<CursorType>(text); 110case CursorType.Arrow: 112case CursorType.AppStarting: 114case CursorType.Cross: 116case CursorType.Help: 118case CursorType.IBeam: 120case CursorType.SizeAll: 122case CursorType.SizeNESW: 124case CursorType.SizeNS: 126case CursorType.SizeNWSE: 128case CursorType.SizeWE: 130case CursorType.UpArrow: 132case CursorType.Wait: 134case CursorType.Hand: 136case CursorType.No: 138case CursorType.None: 140case CursorType.Pen: 142case CursorType.ScrollNS: 144case CursorType.ScrollWE: 146case CursorType.ScrollAll: 148case CursorType.ScrollN: 150case CursorType.ScrollS: 152case CursorType.ScrollW: 154case CursorType.ScrollE: 156case CursorType.ScrollNW: 158case CursorType.ScrollNE: 160case CursorType.ScrollSW: 162case CursorType.ScrollSE: 164case CursorType.ArrowCD:
System\Windows\Input\Cursors.cs (30)
18return EnsureCursor(CursorType.None); 29return EnsureCursor(CursorType.No); 40return EnsureCursor(CursorType.Arrow); 51return EnsureCursor(CursorType.AppStarting); 62return EnsureCursor(CursorType.Cross); 73return EnsureCursor(CursorType.Help); 84return EnsureCursor(CursorType.IBeam); 95return EnsureCursor(CursorType.SizeAll); 106return EnsureCursor(CursorType.SizeNESW); 117return EnsureCursor(CursorType.SizeNS); 128return EnsureCursor(CursorType.SizeNWSE); 139return EnsureCursor(CursorType.SizeWE); 150return EnsureCursor(CursorType.UpArrow); 161return EnsureCursor(CursorType.Wait); 172return EnsureCursor(CursorType.Hand); 183return EnsureCursor(CursorType.Pen); 194return EnsureCursor(CursorType.ScrollNS); 205return EnsureCursor(CursorType.ScrollWE); 216return EnsureCursor(CursorType.ScrollAll); 227return EnsureCursor(CursorType.ScrollN); 238return EnsureCursor(CursorType.ScrollS); 249return EnsureCursor(CursorType.ScrollW); 260return EnsureCursor(CursorType.ScrollE); 271return EnsureCursor(CursorType.ScrollNW); 282return EnsureCursor(CursorType.ScrollNE); 293return EnsureCursor(CursorType.ScrollSW); 304return EnsureCursor(CursorType.ScrollSE); 315return EnsureCursor(CursorType.ArrowCD); 319internal static Cursor EnsureCursor(CursorType cursorType) 328private static int _cursorTypeCount = ((int)CursorType.ArrowCD) + 1 ;