69 references to CursorType
PresentationCore (69)
System\Windows\Input\Cursor.cs (9)
24
internal Cursor(
CursorType
cursorType)
127
internal
CursorType
CursorType
304
private void LoadCursorHelper(
CursorType
cursorType)
306
if (cursorType !=
CursorType
.None)
331
private bool IsValidCursorType(
CursorType
cursorType)
333
return ((int)cursorType >= (int)
CursorType
.None && (int)cursorType <= (int)
CursorType
.ArrowCD);
337
private
CursorType
_cursorType =
CursorType
.None;
System\Windows\Input\CursorConverter.cs (30)
106
CursorType
ct = Enum.Parse<
CursorType
>(text);
110
case
CursorType
.Arrow:
112
case
CursorType
.AppStarting:
114
case
CursorType
.Cross:
116
case
CursorType
.Help:
118
case
CursorType
.IBeam:
120
case
CursorType
.SizeAll:
122
case
CursorType
.SizeNESW:
124
case
CursorType
.SizeNS:
126
case
CursorType
.SizeNWSE:
128
case
CursorType
.SizeWE:
130
case
CursorType
.UpArrow:
132
case
CursorType
.Wait:
134
case
CursorType
.Hand:
136
case
CursorType
.No:
138
case
CursorType
.None:
140
case
CursorType
.Pen:
142
case
CursorType
.ScrollNS:
144
case
CursorType
.ScrollWE:
146
case
CursorType
.ScrollAll:
148
case
CursorType
.ScrollN:
150
case
CursorType
.ScrollS:
152
case
CursorType
.ScrollW:
154
case
CursorType
.ScrollE:
156
case
CursorType
.ScrollNW:
158
case
CursorType
.ScrollNE:
160
case
CursorType
.ScrollSW:
162
case
CursorType
.ScrollSE:
164
case
CursorType
.ArrowCD:
System\Windows\Input\Cursors.cs (30)
18
return EnsureCursor(
CursorType
.None);
29
return EnsureCursor(
CursorType
.No);
40
return EnsureCursor(
CursorType
.Arrow);
51
return EnsureCursor(
CursorType
.AppStarting);
62
return EnsureCursor(
CursorType
.Cross);
73
return EnsureCursor(
CursorType
.Help);
84
return EnsureCursor(
CursorType
.IBeam);
95
return EnsureCursor(
CursorType
.SizeAll);
106
return EnsureCursor(
CursorType
.SizeNESW);
117
return EnsureCursor(
CursorType
.SizeNS);
128
return EnsureCursor(
CursorType
.SizeNWSE);
139
return EnsureCursor(
CursorType
.SizeWE);
150
return EnsureCursor(
CursorType
.UpArrow);
161
return EnsureCursor(
CursorType
.Wait);
172
return EnsureCursor(
CursorType
.Hand);
183
return EnsureCursor(
CursorType
.Pen);
194
return EnsureCursor(
CursorType
.ScrollNS);
205
return EnsureCursor(
CursorType
.ScrollWE);
216
return EnsureCursor(
CursorType
.ScrollAll);
227
return EnsureCursor(
CursorType
.ScrollN);
238
return EnsureCursor(
CursorType
.ScrollS);
249
return EnsureCursor(
CursorType
.ScrollW);
260
return EnsureCursor(
CursorType
.ScrollE);
271
return EnsureCursor(
CursorType
.ScrollNW);
282
return EnsureCursor(
CursorType
.ScrollNE);
293
return EnsureCursor(
CursorType
.ScrollSW);
304
return EnsureCursor(
CursorType
.ScrollSE);
315
return EnsureCursor(
CursorType
.ArrowCD);
319
internal static Cursor EnsureCursor(
CursorType
cursorType)
328
private static int _cursorTypeCount = ((int)
CursorType
.ArrowCD) + 1 ;