71 references to CursorType
PresentationCore (71)
Core\CSharp\System\Windows\Input\Cursor.cs (10)
31internal Cursor(CursorType cursorType) 155internal CursorType CursorType 364private void LoadCursorHelper(CursorType cursorType) 366if (cursorType != CursorType.None) 385return Enum.GetName(typeof(CursorType), _cursorType); 389private bool IsValidCursorType(CursorType cursorType) 391return ((int)cursorType >= (int)CursorType.None && (int)cursorType <= (int)CursorType.ArrowCD); 395private CursorType _cursorType = CursorType.None;
Core\CSharp\System\Windows\Input\CursorConverter.cs (31)
114CursorType ct = (CursorType)Enum.Parse(typeof(CursorType), text); 118case CursorType.Arrow: 120case CursorType.AppStarting: 122case CursorType.Cross: 124case CursorType.Help: 126case CursorType.IBeam: 128case CursorType.SizeAll: 130case CursorType.SizeNESW: 132case CursorType.SizeNS: 134case CursorType.SizeNWSE: 136case CursorType.SizeWE: 138case CursorType.UpArrow: 140case CursorType.Wait: 142case CursorType.Hand: 144case CursorType.No: 146case CursorType.None: 148case CursorType.Pen: 150case CursorType.ScrollNS: 152case CursorType.ScrollWE: 154case CursorType.ScrollAll: 156case CursorType.ScrollN: 158case CursorType.ScrollS: 160case CursorType.ScrollW: 162case CursorType.ScrollE: 164case CursorType.ScrollNW: 166case CursorType.ScrollNE: 168case CursorType.ScrollSW: 170case CursorType.ScrollSE: 172case CursorType.ArrowCD:
Core\CSharp\System\Windows\Input\Cursors.cs (30)
20return EnsureCursor(CursorType.None); 31return EnsureCursor(CursorType.No); 42return EnsureCursor(CursorType.Arrow); 53return EnsureCursor(CursorType.AppStarting); 64return EnsureCursor(CursorType.Cross); 75return EnsureCursor(CursorType.Help); 86return EnsureCursor(CursorType.IBeam); 97return EnsureCursor(CursorType.SizeAll); 108return EnsureCursor(CursorType.SizeNESW); 119return EnsureCursor(CursorType.SizeNS); 130return EnsureCursor(CursorType.SizeNWSE); 141return EnsureCursor(CursorType.SizeWE); 152return EnsureCursor(CursorType.UpArrow); 163return EnsureCursor(CursorType.Wait); 174return EnsureCursor(CursorType.Hand); 185return EnsureCursor(CursorType.Pen); 196return EnsureCursor(CursorType.ScrollNS); 207return EnsureCursor(CursorType.ScrollWE); 218return EnsureCursor(CursorType.ScrollAll); 229return EnsureCursor(CursorType.ScrollN); 240return EnsureCursor(CursorType.ScrollS); 251return EnsureCursor(CursorType.ScrollW); 262return EnsureCursor(CursorType.ScrollE); 273return EnsureCursor(CursorType.ScrollNW); 284return EnsureCursor(CursorType.ScrollNE); 295return EnsureCursor(CursorType.ScrollSW); 306return EnsureCursor(CursorType.ScrollSE); 317return EnsureCursor(CursorType.ArrowCD); 321internal static Cursor EnsureCursor(CursorType cursorType) 330private static int _cursorTypeCount = ((int)CursorType.ArrowCD) + 1 ;