2 types derived from StylusLogic
PresentationCore (2)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
20
internal class PointerLogic :
StylusLogic
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
21
internal class WispLogic :
StylusLogic
56 references to StylusLogic
PresentationCore (56)
MS\Internal\Interop\TipTsfHelper.cs (4)
104
&&
StylusLogic
.IsStylusAndTouchSupportEnabled
105
&& !
StylusLogic
.IsPointerStackEnabled
134
&&
StylusLogic
.IsStylusAndTouchSupportEnabled
135
&& !
StylusLogic
.IsPointerStackEnabled
System\Windows\ContentElement.cs (2)
273
StylusLogic
.CurrentStylusLogicReevaluateStylusOver(this, oldParent, isCoreParent);
278
StylusLogic
.CurrentStylusLogicReevaluateCapture(this, oldParent, isCoreParent);
System\Windows\Input\InputManager.cs (2)
289
internal
StylusLogic
StylusLogic
291
get { return
StylusLogic
.CurrentStylusLogic; }
System\Windows\Input\MouseDevice.cs (3)
1204
if (
StylusLogic
.IsPointerStackEnabled
1205
&&
StylusLogic
.IsPromotedMouseEvent(rawMouseInputReport))
1212
uint cursorId =
StylusLogic
.GetCursorIdFromMouseEvent(rawMouseInputReport);
System\Windows\Input\Stylus\Common\Stylus.cs (1)
799
return
StylusLogic
.CurrentStylusLogic?.CurrentStylusDevice?.StylusDevice;
System\Windows\Input\Stylus\Common\StylusLogic.cs (8)
221
private static
StylusLogic
_currentStylusLogic = null;
228
internal static
StylusLogic
CurrentStylusLogic
247
where T :
StylusLogic
503
public StylusLogicShutDownListener(
StylusLogic
target, ShutDownEvents events) : base(target, events)
509
StylusLogic
stylusLogic = (
StylusLogic
)target;
583
StylusLogic
.CurrentStylusLogic.ReevaluateStylusOver(element, oldParent, isCoreParent);
590
StylusLogic
.CurrentStylusLogic.ReevaluateCapture(element, oldParent, isCoreParent);
System\Windows\Input\Stylus\Common\StylusPlugInCollectionBase.cs (1)
30
if (
StylusLogic
.IsPointerStackEnabled)
System\Windows\Input\Stylus\Common\Tablet.cs (1)
38
return
StylusLogic
.CurrentStylusLogic?.TabletDevices ?? TabletDeviceCollection.EmptyTabletDeviceCollection;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
987
RoutedEvent routedEvent =
StylusLogic
.GetPreviewEventFromRawStylusActions(report.Actions);
1028
RoutedEvent eventMain =
StylusLogic
.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
110
_pointerLogic =
StylusLogic
.GetCurrentStylusLogicAs<PointerLogic>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
68
_manager =
StylusLogic
.GetCurrentStylusLogicAs<PointerLogic>().PlugInManagers[presentationSource];
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (6)
241
PointerLogic pointerLogic =
StylusLogic
.GetCurrentStylusLogicAs<PointerLogic>();
380
StylusLogic
.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed;
397
StylusLogic
.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed;
453
StylusLogic
.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed;
480
StylusLogic
.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed;
604
StylusLogic
.GetCurrentStylusLogicAs<PointerLogic>()?.GetManagerForSource(source);
System\Windows\Input\Stylus\Pointer\PointerTabletDevice.cs (4)
54
StylusLogic
.CurrentStylusLogic.TouchDoubleTapDelta :
StylusLogic
.CurrentStylusLogic.StylusDoubleTapDelta;
66
StylusLogic
.CurrentStylusLogic.TouchDoubleTapDeltaTime :
StylusLogic
.CurrentStylusLogic.StylusDoubleTapDeltaTime;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
1375
RoutedEvent routedEvent =
StylusLogic
.GetPreviewEventFromRawStylusActions(report.Actions);
1412
RoutedEvent eventMain =
StylusLogic
.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent);
3161
PenContexts penContexts = new PenContexts(
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>(), inputSource);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
62
_stylusLogic =
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>();
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
79
PenContexts penContexts =
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>().GetPenContextsFromHwnd(presentationSource);
System\Windows\Input\Stylus\Wisp\WispStylusTouchDevice.cs (1)
22
_stylusLogic =
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>();
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
326
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>().SelectStylusDevice(null, null, true);
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (2)
26
WispLogic stylusLogic =
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>();
67
if (
StylusLogic
.IsStylusAndTouchSupportEnabled
System\Windows\Input\TouchDevice.cs (2)
37
StylusLogic
stylusLogic =
StylusLogic
.CurrentStylusLogic;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
72
_pointerLogic =
StylusLogic
.GetCurrentStylusLogicAs<PointerLogic>();
System\Windows\InterOp\HwndSource.cs (2)
307
if (
StylusLogic
.IsStylusAndTouchSupportEnabled)
310
if (
StylusLogic
.IsPointerStackEnabled)
System\Windows\InterOp\HwndStylusInputProvider.cs (2)
32
_stylusLogic =
StylusLogic
.GetCurrentStylusLogicAs<WispLogic>();
141
if(_stylusLogic != null && _stylusLogic.Enabled && (WispLogic.GetFlickAction(flickData) ==
StylusLogic
.FlickAction.Scroll))
System\Windows\UIElement.cs (2)
2378
StylusLogic
.CurrentStylusLogicReevaluateStylusOver(this, oldParent, isCoreParent);
2383
StylusLogic
.CurrentStylusLogicReevaluateCapture(this, oldParent, isCoreParent);
System\Windows\UIElement3D.cs (2)
357
StylusLogic
.CurrentStylusLogicReevaluateStylusOver(this, oldParent, isCoreParent);
362
StylusLogic
.CurrentStylusLogicReevaluateCapture(this, oldParent, isCoreParent);