1 instantiation of StylusDevice
PresentationCore (1)
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
50
StylusDevice = new
StylusDevice
(this);
85 references to StylusDevice
PresentationCore (72)
System\Windows\Input\MouseButtonEventArgs.cs (1)
52
StylusDevice
stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\MouseDevice.cs (10)
1200
InputDevice inputDevice = e.StagingItem.GetData(_tagStylusDevice) as
StylusDevice
;
1219
inputDevice = inputReportEventArgs.Device as
StylusDevice
;
1426
_stylusDevice = inputReportEventArgs.Device as
StylusDevice
;
1792
StylusDevice
stylusDevice = GetStylusDevice(e.StagingItem);
2168
internal bool IsSameSpot(Point newPosition,
StylusDevice
stylusDevice)
2178
internal int CalculateClickCount(MouseButton button, int timeStamp,
StylusDevice
stylusDevice, Point downPt)
2231
private
StylusDevice
GetStylusDevice(StagingAreaInputItem stagingItem)
2233
return stagingItem.GetData(_tagStylusDevice) as
StylusDevice
;
2236
internal
StylusDevice
StylusDevice
2320
private
StylusDevice
_stylusDevice = null;
System\Windows\Input\MouseEventArgs.cs (3)
40
public MouseEventArgs(MouseDevice mouse, int timestamp,
StylusDevice
stylusDevice) : base(mouse, timestamp)
58
public
StylusDevice
StylusDevice
143
private
StylusDevice
_stylusDevice;
System\Windows\Input\QueryCursorEventArgs.cs (1)
37
public QueryCursorEventArgs(MouseDevice mouse, int timestamp,
StylusDevice
stylusDevice) : base(mouse, timestamp, stylusDevice)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (2)
231
public virtual void Reset(
StylusDevice
stylusDevice, StylusPointCollection stylusPoints)
484
StylusDevice
stylusDevice = tabletDevice.StylusDevices[j];
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (2)
51
StylusDevice
_stylusDevice;
121
internal
StylusDevice
StylusDevice
System\Windows\Input\Stylus\Common\Stylus.cs (1)
795
public static
StylusDevice
CurrentStylusDevice
System\Windows\Input\Stylus\Common\StylusButton.cs (1)
80
public
StylusDevice
StylusDevice
System\Windows\Input\Stylus\Common\StylusButtonEventArgs.cs (1)
28
StylusDevice
stylusDevice, int timestamp,
System\Windows\Input\Stylus\Common\StylusDeviceBase.cs (1)
28
internal
StylusDevice
StylusDevice { get; private set; }
System\Windows\Input\Stylus\Common\StylusDeviceCollection.cs (3)
13
public class StylusDeviceCollection : ReadOnlyCollection<
StylusDevice
>
23
: base(new List<
StylusDevice
>())
33
foreach (
StylusDevice
stylusDevice in this.Items)
System\Windows\Input\Stylus\Common\StylusDownEventArgs.cs (1)
24
StylusDevice
stylusDevice, int timestamp)
System\Windows\Input\Stylus\Common\StylusEventArgs.cs (4)
24
public StylusEventArgs(
StylusDevice
stylus, int timestamp) : base(stylus, timestamp)
34
public
StylusDevice
StylusDevice
38
return (
StylusDevice
)this.Device;
51
return ((
StylusDevice
)this.Device).StylusDeviceImpl;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (2)
30
StylusDevice
stylusDevice, int timestamp,
68
StylusDevice
stylusDevice,
System\Windows\Input\Stylus\Common\Tablet.cs (1)
22
StylusDevice
stylus = Stylus.CurrentStylusDevice;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (3)
208
var stylusDevice = (input.Device as
StylusDevice
)?.StylusDeviceImpl?.As<PointerStylusDevice>();
337
foreach (
StylusDevice
stylus in tabletDevice.StylusDevices)
1032
StylusDevice
stylusDevice = eventArgsPreview.InputReport.StylusDevice;
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (7)
616
IInputElement stylusOver = Input.
StylusDevice
.GlobalHitTest(_inputSource, ptDevice);
680
return _currentStylusPoints.Clone(
StylusDevice
.GetElementTransform(relativeTo), _currentStylusPoints.Description);
696
return _currentStylusPoints.Reformat(subsetToReformatTo,
StylusDevice
.GetElementTransform(relativeTo));
905
stylusOver =
StylusDevice
.GlobalHitTest(inputSource, position);
929
stylusOver =
StylusDevice
.GlobalHitTest(inputSource, position);
1090
IInputElement currentOver = Input.
StylusDevice
.GlobalHitTest(_inputSource, pt);
1143
group.Children.Add(
StylusDevice
.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispLogic.cs (16)
489
if ((input.Device as
StylusDevice
) == null)
876
StylusDevice
stylusDevice = ((
StylusDevice
)input.Device);
1159
foreach (
StylusDevice
stylusDevice in tabletDevice.StylusDevices)
1416
StylusDevice
stylusDevice = eventArgsPreview.InputReport.StylusDevice;
1689
!(inputReportArgs.Device is
StylusDevice
))
2033
foreach (
StylusDevice
stylusDevice in tabletDevice.StylusDevices)
2574
StylusDevice
stylusDevice = rawStylusInputReport.StylusDevice;
2799
StylusDevice
stylusDevice = rawStylusInputReport.StylusDevice;
2895
StylusDevice
stylusDevice = report.StylusDevice;
3018
internal void RegisterStylusDeviceCore(
StylusDevice
stylusDevice)
3038
internal void UnregisterStylusDeviceCore(
StylusDevice
stylusDevice)
3053
StylusDevice
stylusDevice;
3060
StylusDevice
stylusDevice;
3714
Dictionary<int,
StylusDevice
> __stylusDeviceMap = new Dictionary<int,
StylusDevice
>(2);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (8)
327
IInputElement stylusOver = Input.
StylusDevice
.GlobalHitTest(_inputSource, ptDevice);
671
IInputElement currentOver = Input.
StylusDevice
.GlobalHitTest(_inputSource, pt);
978
stylusOver =
StylusDevice
.GlobalHitTest(inputSource, position);
1003
stylusOver =
StylusDevice
.GlobalHitTest(inputSource, position);
1122
return _eventStylusPoints.Clone(
StylusDevice
.GetElementTransform(relativeTo), _eventStylusPoints.Description);
1139
return _eventStylusPoints.Reformat(subsetToReformatTo,
StylusDevice
.GetElementTransform(relativeTo));
1212
GeneralTransform transform =
StylusDevice
.GetElementTransform(relativeTo);
1293
group.Children.Add(
StylusDevice
.GetElementTransform(relativeTo));
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (2)
131
StylusDevice
stylusDevice = Stylus.CurrentStylusDevice;
150
StylusDevice
stylusDevice = Stylus.CurrentStylusDevice;
System\Windows\InterOp\HwndSource.cs (1)
411
if (inputDevice == typeof(
StylusDevice
))
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
94
IInputElement inputElement =
StylusDevice
.LocalHitTest(_source, ptClient1);
PresentationFramework (13)
MS\Internal\Ink\EditingCoordinator.cs (6)
415
StylusDevice
stylusDevice = Stylus.CurrentStylusDevice;
828
StylusDevice
stylusDevice = null;
933
_capturedStylus = inputDevice as
StylusDevice
;
1056
return (inputDevice == _capturedStylus && ((
StylusDevice
)inputDevice).Captured == _inkCanvas)
1264
private bool UpdateInvertedState(
StylusDevice
stylusDevice, bool stylusIsInverted)
1402
private
StylusDevice
_capturedStylus;
MS\Internal\Ink\InkCollectionBehavior.cs (2)
246
StylusDevice
stylusDevice = inputDevice as
StylusDevice
;
System\Windows\Controls\StickyNote.cs (2)
860
StylusDevice
stylusDevice = null;
864
stylusDevice = args.Device as
StylusDevice
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
716
case 622: t = () => typeof(
StylusDevice
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10754
typeof(System.Windows.Input.
StylusDevice
),
System\Windows\Markup\KnownTypes.cs (1)
6170
case KnownElements.StylusDevice: t = typeof(System.Windows.Input.
StylusDevice
); break;