5 instantiations of Cursor
PresentationCore (4)
System\Windows\Input\CursorConverter.cs (2)
178return new Cursor(finalUri.LocalPath); 184return new Cursor(WpfWebRequestHelper.GetResponseStream(request));
System\Windows\Input\Cursors.cs (1)
324_stockCursors[(int)cursorType] = new Cursor(cursorType);
System\Windows\InterOp\CursorInteropHelper.cs (1)
64return new Cursor(cursorHandle);
PresentationFramework (1)
System\Windows\Controls\GridViewColumnHeader.cs (1)
771cursor = new Cursor(stream);
95 references to Cursor
PresentationCore (44)
System\Windows\Input\CursorConverter.cs (2)
214Cursor cursor = value as Cursor;
System\Windows\Input\Cursors.cs (31)
15public static Cursor None 26public static Cursor No 37public static Cursor Arrow 48public static Cursor AppStarting 59public static Cursor Cross 70public static Cursor Help 81public static Cursor IBeam 92public static Cursor SizeAll 103public static Cursor SizeNESW 114public static Cursor SizeNS 125public static Cursor SizeNWSE 136public static Cursor SizeWE 147public static Cursor UpArrow 158public static Cursor Wait 169public static Cursor Hand 180public static Cursor Pen 191public static Cursor ScrollNS 202public static Cursor ScrollWE 213public static Cursor ScrollAll 224public static Cursor ScrollN 235public static Cursor ScrollS 246public static Cursor ScrollW 257public static Cursor ScrollE 268public static Cursor ScrollNW 279public static Cursor ScrollNE 290public static Cursor ScrollSW 301public static Cursor ScrollSE 312public static Cursor ArrowCD 320internal static Cursor EnsureCursor(CursorType cursorType) 331private static Cursor[] _stockCursors = new Cursor[_cursorTypeCount]; //CursorType.ArrowCD = 27
System\Windows\Input\IMouseInputProvider.cs (1)
21bool SetCursor(Cursor cursor);
System\Windows\Input\Mouse.cs (2)
486public static Cursor OverrideCursor 505public static bool SetCursor(Cursor cursor)
System\Windows\Input\MouseDevice.cs (3)
437public Cursor OverrideCursor 462public bool SetCursor(Cursor cursor) 2282private Cursor _overrideCursor;
System\Windows\Input\QueryCursorEventArgs.cs (2)
44public Cursor Cursor 66private Cursor _cursor;
System\Windows\InterOp\CursorInteropHelper.cs (2)
41public static Cursor Create(SafeHandle cursorHandle) 62internal static Cursor CriticalCreate(SafeHandle cursorHandle)
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
86bool IMouseInputProvider.SetCursor(Cursor cursor)
PresentationFramework (41)
MS\Internal\Ink\EditBehavior.cs (3)
133public Cursor Cursor 188protected abstract Cursor GetCurrentCursor(); 274private Cursor _cachedCursor;
MS\Internal\Ink\EditingCoordinator.cs (2)
1064internal Cursor GetActiveBehaviorCursor() 1075Cursor cursor = behavior.Cursor;
MS\Internal\Ink\EraserBehavior.cs (2)
271protected override Cursor GetCurrentCursor() 456private Cursor _cachedPointEraserCursor;
MS\Internal\Ink\InkCollectionBehavior.cs (3)
207protected override Cursor GetCurrentCursor() 332private Cursor PenCursor 394private Cursor _cachedPenCursor;
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
305protected override Cursor GetCurrentCursor()
MS\Internal\Ink\PenCursorManager.cs (8)
42internal static Cursor GetPenCursor(DrawingAttributes drawingAttributes, bool isHollow, bool isRightToLeft, double dpiScaleX, double dpiScaleY) 57internal static Cursor GetPointEraserCursor(StylusShape stylusShape, Matrix tranform, double dpiScaleX, double dpiScaleY) 99internal static Cursor GetStrokeEraserCursor() 118internal static Cursor GetSelectionCursor(InkCanvasSelectionHitResult hitResult, bool isRightToLeft) 120Cursor cursor; 197private static Cursor CreateCursorFromDrawing(Drawing drawing, Point hotspot) 200Cursor cursor = Cursors.Arrow; 572private static Cursor s_StrokeEraserCursor;
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
103protected override Cursor GetCurrentCursor()
MS\Internal\Ink\SelectionEditor.cs (1)
109protected override Cursor GetCurrentCursor()
System\Windows\Controls\GridViewColumnHeader.cs (7)
751private Cursor GetCursor(int cursorID) 755Cursor cursor = null; 781Cursor gripperCursor; 905private Cursor SplitCursor 917static private Cursor _splitCursorCache = null; 923private Cursor SplitOpenCursor 935static private Cursor _splitOpenCursorCache = null;
System\Windows\Controls\InkCanvas.cs (1)
2871Cursor cursor = inkCanvas.EditingCoordinator.GetActiveBehaviorCursor();
System\windows\Documents\TextEditor.cs (1)
2015internal Cursor _cursor;
System\windows\Documents\TextEditorMouse.cs (1)
676Cursor cursor = Cursors.IBeam;
System\Windows\FrameworkContentElement.cs (3)
913public System.Windows.Input.Cursor Cursor 915get { return (System.Windows.Input.Cursor)GetValue(CursorProperty); } 969Cursor cursor = fce.Cursor;
System\Windows\FrameworkElement.cs (4)
3857typeof(Cursor), 3867public System.Windows.Input.Cursor Cursor 3869get { return (System.Windows.Input.Cursor) GetValue(CursorProperty); } 3925Cursor cursor = fe.Cursor;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
210case 116: t = () => typeof(Cursor); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3101typeof(System.Windows.Input.Cursor),
System\Windows\Markup\KnownTypes.cs (1)
5670case KnownElements.Cursor: t = typeof(System.Windows.Input.Cursor); break;
WindowsFormsIntegration (10)
System\Windows\Integration\Convert.cs (9)
26private static Dictionary<SWF.Cursor, SWI.Cursor> _toSystemWindowsInputCursorDictionary; 27private static Dictionary<SWF.Cursor, SWI.Cursor> ToSystemWindowsInputCursorDictionary 33_toSystemWindowsInputCursorDictionary = new Dictionary<SWF.Cursor, System.Windows.Input.Cursor>(); 66private static Dictionary<SWI.Cursor, SWF.Cursor> _toSystemWindowsFormsCursorDictionary; 67private static Dictionary<SWI.Cursor, SWF.Cursor> ToSystemWindowsFormsCursorDictionary 73_toSystemWindowsFormsCursorDictionary = new Dictionary<SWI.Cursor, SWF.Cursor>(); 109internal static SWI.Cursor ToSystemWindowsInputCursor(SWF.Cursor swfCursor) 111SWI.Cursor swiCursor; 123internal static SWF.Cursor ToSystemWindowsFormsCursor(SWI.Cursor swiCursor)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
101SWI.Cursor toCursor = Convert.ToSystemWindowsInputCursor(fromCursor);