5 instantiations of Cursor
PresentationCore (4)
System\Windows\Input\CursorConverter.cs (2)
182return new Cursor(finalUri.LocalPath); 188return new Cursor(WpfWebRequestHelper.GetResponseStream(request));
System\Windows\Input\Cursors.cs (1)
328_stockCursors[(int)cursorType] = new Cursor(cursorType);
System\Windows\InterOp\CursorInteropHelper.cs (1)
67return new Cursor(cursorHandle);
PresentationFramework (1)
System\Windows\Controls\GridViewColumnHeader.cs (1)
775cursor = new Cursor(stream);
95 references to Cursor
PresentationCore (44)
System\Windows\Input\CursorConverter.cs (2)
218Cursor cursor = value as Cursor;
System\Windows\Input\Cursors.cs (31)
19public static Cursor None 30public static Cursor No 41public static Cursor Arrow 52public static Cursor AppStarting 63public static Cursor Cross 74public static Cursor Help 85public static Cursor IBeam 96public static Cursor SizeAll 107public static Cursor SizeNESW 118public static Cursor SizeNS 129public static Cursor SizeNWSE 140public static Cursor SizeWE 151public static Cursor UpArrow 162public static Cursor Wait 173public static Cursor Hand 184public static Cursor Pen 195public static Cursor ScrollNS 206public static Cursor ScrollWE 217public static Cursor ScrollAll 228public static Cursor ScrollN 239public static Cursor ScrollS 250public static Cursor ScrollW 261public static Cursor ScrollE 272public static Cursor ScrollNW 283public static Cursor ScrollNE 294public static Cursor ScrollSW 305public static Cursor ScrollSE 316public static Cursor ArrowCD 324internal static Cursor EnsureCursor(CursorType cursorType) 335private static Cursor[] _stockCursors = new Cursor[_cursorTypeCount]; //CursorType.ArrowCD = 27
System\Windows\Input\IMouseInputProvider.cs (1)
25bool SetCursor(Cursor cursor);
System\Windows\Input\Mouse.cs (2)
494public static Cursor OverrideCursor 513public static bool SetCursor(Cursor cursor)
System\Windows\Input\MouseDevice.cs (3)
446public Cursor OverrideCursor 471public bool SetCursor(Cursor cursor) 2291private Cursor _overrideCursor;
System\Windows\Input\QueryCursorEventArgs.cs (2)
46public Cursor Cursor 68private Cursor _cursor;
System\Windows\InterOp\CursorInteropHelper.cs (2)
44public static Cursor Create(SafeHandle cursorHandle) 65internal static Cursor CriticalCreate(SafeHandle cursorHandle)
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
90bool IMouseInputProvider.SetCursor(Cursor cursor)
PresentationFramework (41)
MS\Internal\Ink\EditBehavior.cs (3)
145public Cursor Cursor 200protected abstract Cursor GetCurrentCursor(); 286private Cursor _cachedCursor;
MS\Internal\Ink\EditingCoordinator.cs (2)
1079internal Cursor GetActiveBehaviorCursor() 1090Cursor cursor = behavior.Cursor;
MS\Internal\Ink\EraserBehavior.cs (2)
283protected override Cursor GetCurrentCursor() 468private Cursor _cachedPointEraserCursor;
MS\Internal\Ink\InkCollectionBehavior.cs (3)
216protected override Cursor GetCurrentCursor() 341private Cursor PenCursor 403private Cursor _cachedPenCursor;
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
314protected override Cursor GetCurrentCursor()
MS\Internal\Ink\PenCursorManager.cs (8)
47internal static Cursor GetPenCursor(DrawingAttributes drawingAttributes, bool isHollow, bool isRightToLeft, double dpiScaleX, double dpiScaleY) 62internal static Cursor GetPointEraserCursor(StylusShape stylusShape, Matrix tranform, double dpiScaleX, double dpiScaleY) 104internal static Cursor GetStrokeEraserCursor() 123internal static Cursor GetSelectionCursor(InkCanvasSelectionHitResult hitResult, bool isRightToLeft) 125Cursor cursor; 202private static Cursor CreateCursorFromDrawing(Drawing drawing, Point hotspot) 205Cursor cursor = Cursors.Arrow; 577private static Cursor s_StrokeEraserCursor;
MS\Internal\Ink\SelectionEditingBehavior.cs (1)
116protected override Cursor GetCurrentCursor()
MS\Internal\Ink\SelectionEditor.cs (1)
124protected override Cursor GetCurrentCursor()
System\Windows\Controls\GridViewColumnHeader.cs (7)
755private Cursor GetCursor(int cursorID) 759Cursor cursor = null; 785Cursor gripperCursor; 909private Cursor SplitCursor 921static private Cursor _splitCursorCache = null; 927private Cursor SplitOpenCursor 939static private Cursor _splitOpenCursorCache = null;
System\Windows\Controls\InkCanvas.cs (1)
2883Cursor cursor = inkCanvas.EditingCoordinator.GetActiveBehaviorCursor();
System\windows\Documents\TextEditor.cs (1)
2021internal Cursor _cursor;
System\windows\Documents\TextEditorMouse.cs (1)
690Cursor cursor = Cursors.IBeam;
System\Windows\FrameworkContentElement.cs (3)
925public System.Windows.Input.Cursor Cursor 927get { return (System.Windows.Input.Cursor)GetValue(CursorProperty); } 981Cursor cursor = fce.Cursor;
System\Windows\FrameworkElement.cs (4)
3868typeof(Cursor), 3878public System.Windows.Input.Cursor Cursor 3880get { return (System.Windows.Input.Cursor) GetValue(CursorProperty); } 3936Cursor cursor = fe.Cursor;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
212case 116: t = () => typeof(Cursor); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3103typeof(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)
29private static Dictionary<SWF.Cursor, SWI.Cursor> _toSystemWindowsInputCursorDictionary; 30private static Dictionary<SWF.Cursor, SWI.Cursor> ToSystemWindowsInputCursorDictionary 36_toSystemWindowsInputCursorDictionary = new Dictionary<SWF.Cursor, System.Windows.Input.Cursor>(); 69private static Dictionary<SWI.Cursor, SWF.Cursor> _toSystemWindowsFormsCursorDictionary; 70private static Dictionary<SWI.Cursor, SWF.Cursor> ToSystemWindowsFormsCursorDictionary 76_toSystemWindowsFormsCursorDictionary = new Dictionary<SWI.Cursor, SWF.Cursor>(); 112internal static SWI.Cursor ToSystemWindowsInputCursor(SWF.Cursor swfCursor) 114SWI.Cursor swiCursor; 126internal static SWF.Cursor ToSystemWindowsFormsCursor(SWI.Cursor swiCursor)
System\Windows\Integration\ElementHostPropertyMap.cs (1)
103SWI.Cursor toCursor = Convert.ToSystemWindowsInputCursor(fromCursor);