71 references to CursorType
PresentationCore (71)
Core\CSharp\System\Windows\Input\Cursor.cs (10)
31
internal Cursor(
CursorType
cursorType)
155
internal
CursorType
CursorType
364
private void LoadCursorHelper(
CursorType
cursorType)
366
if (cursorType !=
CursorType
.None)
385
return Enum.GetName(typeof(
CursorType
), _cursorType);
389
private bool IsValidCursorType(
CursorType
cursorType)
391
return ((int)cursorType >= (int)
CursorType
.None && (int)cursorType <= (int)
CursorType
.ArrowCD);
395
private
CursorType
_cursorType =
CursorType
.None;
Core\CSharp\System\Windows\Input\CursorConverter.cs (31)
114
CursorType
ct = (
CursorType
)Enum.Parse(typeof(
CursorType
), text);
118
case
CursorType
.Arrow:
120
case
CursorType
.AppStarting:
122
case
CursorType
.Cross:
124
case
CursorType
.Help:
126
case
CursorType
.IBeam:
128
case
CursorType
.SizeAll:
130
case
CursorType
.SizeNESW:
132
case
CursorType
.SizeNS:
134
case
CursorType
.SizeNWSE:
136
case
CursorType
.SizeWE:
138
case
CursorType
.UpArrow:
140
case
CursorType
.Wait:
142
case
CursorType
.Hand:
144
case
CursorType
.No:
146
case
CursorType
.None:
148
case
CursorType
.Pen:
150
case
CursorType
.ScrollNS:
152
case
CursorType
.ScrollWE:
154
case
CursorType
.ScrollAll:
156
case
CursorType
.ScrollN:
158
case
CursorType
.ScrollS:
160
case
CursorType
.ScrollW:
162
case
CursorType
.ScrollE:
164
case
CursorType
.ScrollNW:
166
case
CursorType
.ScrollNE:
168
case
CursorType
.ScrollSW:
170
case
CursorType
.ScrollSE:
172
case
CursorType
.ArrowCD:
Core\CSharp\System\Windows\Input\Cursors.cs (30)
20
return EnsureCursor(
CursorType
.None);
31
return EnsureCursor(
CursorType
.No);
42
return EnsureCursor(
CursorType
.Arrow);
53
return EnsureCursor(
CursorType
.AppStarting);
64
return EnsureCursor(
CursorType
.Cross);
75
return EnsureCursor(
CursorType
.Help);
86
return EnsureCursor(
CursorType
.IBeam);
97
return EnsureCursor(
CursorType
.SizeAll);
108
return EnsureCursor(
CursorType
.SizeNESW);
119
return EnsureCursor(
CursorType
.SizeNS);
130
return EnsureCursor(
CursorType
.SizeNWSE);
141
return EnsureCursor(
CursorType
.SizeWE);
152
return EnsureCursor(
CursorType
.UpArrow);
163
return EnsureCursor(
CursorType
.Wait);
174
return EnsureCursor(
CursorType
.Hand);
185
return EnsureCursor(
CursorType
.Pen);
196
return EnsureCursor(
CursorType
.ScrollNS);
207
return EnsureCursor(
CursorType
.ScrollWE);
218
return EnsureCursor(
CursorType
.ScrollAll);
229
return EnsureCursor(
CursorType
.ScrollN);
240
return EnsureCursor(
CursorType
.ScrollS);
251
return EnsureCursor(
CursorType
.ScrollW);
262
return EnsureCursor(
CursorType
.ScrollE);
273
return EnsureCursor(
CursorType
.ScrollNW);
284
return EnsureCursor(
CursorType
.ScrollNE);
295
return EnsureCursor(
CursorType
.ScrollSW);
306
return EnsureCursor(
CursorType
.ScrollSE);
317
return EnsureCursor(
CursorType
.ArrowCD);
321
internal static Cursor EnsureCursor(
CursorType
cursorType)
330
private static int _cursorTypeCount = ((int)
CursorType
.ArrowCD) + 1 ;