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