5 instantiations of Cursor
PresentationCore (4)
Core\CSharp\System\Windows\Input\CursorConverter.cs (2)
185return new Cursor(finalUri.LocalPath); 191return new Cursor(WpfWebRequestHelper.GetResponseStream(request));
Core\CSharp\System\Windows\Input\Cursors.cs (1)
325_stockCursors[(int)cursorType] = new Cursor(cursorType);
Core\CSharp\System\Windows\Interop\CursorInteropHelper.cs (1)
78return new Cursor(cursorHandle);
PresentationFramework (1)
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
790cursor = new Cursor(stream);
95 references to Cursor
PresentationCore (44)
Core\CSharp\System\Windows\Input\CursorConverter.cs (2)
224Cursor cursor = value as Cursor;
Core\CSharp\System\Windows\Input\Cursors.cs (31)
16public static Cursor None 27public static Cursor No 38public static Cursor Arrow 49public static Cursor AppStarting 60public static Cursor Cross 71public static Cursor Help 82public static Cursor IBeam 93public static Cursor SizeAll 104public static Cursor SizeNESW 115public static Cursor SizeNS 126public static Cursor SizeNWSE 137public static Cursor SizeWE 148public static Cursor UpArrow 159public static Cursor Wait 170public static Cursor Hand 181public static Cursor Pen 192public static Cursor ScrollNS 203public static Cursor ScrollWE 214public static Cursor ScrollAll 225public static Cursor ScrollN 236public static Cursor ScrollS 247public static Cursor ScrollW 258public static Cursor ScrollE 269public static Cursor ScrollNW 280public static Cursor ScrollNE 291public static Cursor ScrollSW 302public static Cursor ScrollSE 313public static Cursor ArrowCD 321internal static Cursor EnsureCursor(CursorType cursorType) 332private static Cursor[] _stockCursors = new Cursor[_cursorTypeCount]; //CursorType.ArrowCD = 27
Core\CSharp\System\Windows\Input\IMouseInputProvider.cs (1)
21bool SetCursor(Cursor cursor);
Core\CSharp\System\Windows\Input\Mouse.cs (2)
499public static Cursor OverrideCursor 518public static bool SetCursor(Cursor cursor)
Core\CSharp\System\Windows\Input\MouseDevice.cs (3)
508public Cursor OverrideCursor 539public bool SetCursor(Cursor cursor) 2428private Cursor _overrideCursor;
Core\CSharp\System\Windows\Input\QueryCursorEventArgs.cs (2)
42public Cursor Cursor 64private Cursor _cursor;
Core\CSharp\System\Windows\Interop\CursorInteropHelper.cs (2)
50public static Cursor Create(SafeHandle cursorHandle) 76internal static Cursor CriticalCreate(SafeHandle cursorHandle)
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
127bool IMouseInputProvider.SetCursor(Cursor cursor)
PresentationFramework (41)
src\Framework\MS\Internal\Ink\EditBehavior.cs (3)
155public Cursor Cursor 210protected abstract Cursor GetCurrentCursor(); 296private Cursor _cachedCursor;
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (2)
1124internal Cursor GetActiveBehaviorCursor() 1135Cursor cursor = behavior.Cursor;
src\Framework\MS\Internal\Ink\EraserBehavior.cs (2)
285protected override Cursor GetCurrentCursor() 471private Cursor _cachedPointEraserCursor;
src\Framework\MS\Internal\Ink\InkCollectionBehavior.cs (3)
240protected override Cursor GetCurrentCursor() 393private Cursor PenCursor 465private Cursor _cachedPenCursor;
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
317protected override Cursor GetCurrentCursor()
src\Framework\MS\Internal\Ink\PenCursorManager.cs (8)
54internal static Cursor GetPenCursor(DrawingAttributes drawingAttributes, bool isHollow, bool isRightToLeft, double dpiScaleX, double dpiScaleY) 69internal static Cursor GetPointEraserCursor(StylusShape stylusShape, Matrix tranform, double dpiScaleX, double dpiScaleY) 117internal static Cursor GetStrokeEraserCursor() 136internal static Cursor GetSelectionCursor(InkCanvasSelectionHitResult hitResult, bool isRightToLeft) 138Cursor cursor; 219private static Cursor CreateCursorFromDrawing(Drawing drawing, Point hotspot) 222Cursor cursor = Cursors.Arrow; 602private static Cursor s_StrokeEraserCursor;
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (1)
119protected override Cursor GetCurrentCursor()
src\Framework\MS\Internal\Ink\SelectionEditor.cs (1)
131protected override Cursor GetCurrentCursor()
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (7)
758private Cursor GetCursor(int cursorID) 762Cursor cursor = null; 805Cursor gripperCursor; 942private Cursor SplitCursor 954static private Cursor _splitCursorCache = null; 960private Cursor SplitOpenCursor 972static private Cursor _splitOpenCursorCache = null;
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
3030Cursor cursor = inkCanvas.EditingCoordinator.GetActiveBehaviorCursor();
src\Framework\System\windows\Documents\TextEditor.cs (1)
2072internal Cursor _cursor;
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
691Cursor cursor = Cursors.IBeam;
src\Framework\System\Windows\FrameworkContentElement.cs (3)
931public System.Windows.Input.Cursor Cursor 933get { return (System.Windows.Input.Cursor)GetValue(CursorProperty); } 987Cursor cursor = fce.Cursor;
src\Framework\System\Windows\FrameworkElement.cs (4)
3867typeof(Cursor), 3877public System.Windows.Input.Cursor Cursor 3879get { return (System.Windows.Input.Cursor) GetValue(CursorProperty); } 3935Cursor cursor = fe.Cursor;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
208case 116: t = () => typeof(Cursor); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3099typeof(System.Windows.Input.Cursor),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5660case KnownElements.Cursor: t = typeof(System.Windows.Input.Cursor); break;
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (4)
71public static readonly DependencyProperty ComboBoxLoadingCursorProperty = DependencyProperty.Register("ComboBoxLoadingCursor", typeof(Cursor), typeof(ChoiceEditor), new PropertyMetadata(null)); 324public Cursor ComboBoxLoadingCursor 326get { return (Cursor)this.GetValue(ChoiceEditor.ComboBoxLoadingCursorProperty); } 445Cursor loadingCursor = this.ComboBoxLoadingCursor;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
190this.scrollViewerPanner.Hand = (Cursor)this.Resources["ReadyToPanCursor"]; 191this.scrollViewerPanner.DraggingHand = (Cursor)this.Resources["PanningCursor"];
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (2)
84public Cursor Hand { get; set; } 86public Cursor DraggingHand { get; set; }
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
155Cursor oldCursor = Mouse.OverrideCursor; 160void PopulateAllWithWaitCursor( Cursor oldCursor, Action onAfterPopulateAll)