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