2 types derived from StylusLogic
PresentationCore (2)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (1)
37internal class PointerLogic : StylusLogic
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
30internal class WispLogic : StylusLogic
56 references to StylusLogic
PresentationCore (56)
MS\Internal\Interop\TipTsfHelper.cs (4)
108&& StylusLogic.IsStylusAndTouchSupportEnabled 109&& !StylusLogic.IsPointerStackEnabled 138&& StylusLogic.IsStylusAndTouchSupportEnabled 139&& !StylusLogic.IsPointerStackEnabled
System\Windows\ContentElement.cs (2)
284StylusLogic.CurrentStylusLogicReevaluateStylusOver(this, oldParent, isCoreParent); 289StylusLogic.CurrentStylusLogicReevaluateCapture(this, oldParent, isCoreParent);
System\Windows\Input\InputManager.cs (2)
297internal StylusLogic StylusLogic 299get { return StylusLogic.CurrentStylusLogic; }
System\Windows\Input\MouseDevice.cs (3)
1208if (StylusLogic.IsPointerStackEnabled 1209&& StylusLogic.IsPromotedMouseEvent(rawMouseInputReport)) 1216uint cursorId = StylusLogic.GetCursorIdFromMouseEvent(rawMouseInputReport);
System\Windows\Input\Stylus\Common\Stylus.cs (1)
804return StylusLogic.CurrentStylusLogic?.CurrentStylusDevice?.StylusDevice;
System\Windows\Input\Stylus\Common\StylusLogic.cs (8)
231private static StylusLogic _currentStylusLogic = null; 238internal static StylusLogic CurrentStylusLogic 257where T : StylusLogic 513public StylusLogicShutDownListener(StylusLogic target, ShutDownEvents events) : base(target, events) 519StylusLogic stylusLogic = (StylusLogic)target; 593StylusLogic.CurrentStylusLogic.ReevaluateStylusOver(element, oldParent, isCoreParent); 600StylusLogic.CurrentStylusLogic.ReevaluateCapture(element, oldParent, isCoreParent);
System\Windows\Input\Stylus\Common\StylusPlugInCollectionBase.cs (1)
40if (StylusLogic.IsPointerStackEnabled)
System\Windows\Input\Stylus\Common\Tablet.cs (1)
43return StylusLogic.CurrentStylusLogic?.TabletDevices ?? TabletDeviceCollection.EmptyTabletDeviceCollection;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
1002RoutedEvent routedEvent = StylusLogic.GetPreviewEventFromRawStylusActions(report.Actions); 1043RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
118_pointerLogic = StylusLogic.GetCurrentStylusLogicAs<PointerLogic>();
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
77_manager = StylusLogic.GetCurrentStylusLogicAs<PointerLogic>().PlugInManagers[presentationSource];
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (6)
253PointerLogic pointerLogic = StylusLogic.GetCurrentStylusLogicAs<PointerLogic>(); 392StylusLogic.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed; 409StylusLogic.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed; 465StylusLogic.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed; 492StylusLogic.CurrentStylusLogic.Statistics.FeaturesUsed |= Tracing.StylusTraceLogger.FeatureFlags.StylusPluginsUsed; 616StylusLogic.GetCurrentStylusLogicAs<PointerLogic>()?.GetManagerForSource(source);
System\Windows\Input\Stylus\Pointer\PointerTabletDevice.cs (4)
58StylusLogic.CurrentStylusLogic.TouchDoubleTapDelta : StylusLogic.CurrentStylusLogic.StylusDoubleTapDelta; 70StylusLogic.CurrentStylusLogic.TouchDoubleTapDeltaTime : StylusLogic.CurrentStylusLogic.StylusDoubleTapDeltaTime;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
1373RoutedEvent routedEvent = StylusLogic.GetPreviewEventFromRawStylusActions(report.Actions); 1410RoutedEvent eventMain = StylusLogic.GetMainEventFromPreviewEvent(e.StagingItem.Input.RoutedEvent); 3147PenContexts penContexts = new PenContexts(StylusLogic.GetCurrentStylusLogicAs<WispLogic>(), inputSource);
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
65_stylusLogic = StylusLogic.GetCurrentStylusLogicAs<WispLogic>();
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
88PenContexts penContexts = StylusLogic.GetCurrentStylusLogicAs<WispLogic>().GetPenContextsFromHwnd(presentationSource);
System\Windows\Input\Stylus\Wisp\WispStylusTouchDevice.cs (1)
30_stylusLogic = StylusLogic.GetCurrentStylusLogicAs<WispLogic>();
System\Windows\Input\Stylus\Wisp\WispTabletDevice.cs (1)
335StylusLogic.GetCurrentStylusLogicAs<WispLogic>().SelectStylusDevice(null, null, true);
System\Windows\Input\Stylus\Wisp\WispTabletDeviceCollection.cs (2)
32WispLogic stylusLogic = StylusLogic.GetCurrentStylusLogicAs<WispLogic>(); 73if (StylusLogic.IsStylusAndTouchSupportEnabled
System\Windows\Input\TouchDevice.cs (2)
49StylusLogic stylusLogic = StylusLogic.CurrentStylusLogic;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
77_pointerLogic = StylusLogic.GetCurrentStylusLogicAs<PointerLogic>();
System\Windows\InterOp\HwndSource.cs (2)
313if (StylusLogic.IsStylusAndTouchSupportEnabled) 316if (StylusLogic.IsPointerStackEnabled)
System\Windows\InterOp\HwndStylusInputProvider.cs (2)
39_stylusLogic = StylusLogic.GetCurrentStylusLogicAs<WispLogic>(); 148if(_stylusLogic != null && _stylusLogic.Enabled && (WispLogic.GetFlickAction(flickData) == StylusLogic.FlickAction.Scroll))
System\Windows\UIElement.cs (2)
2391StylusLogic.CurrentStylusLogicReevaluateStylusOver(this, oldParent, isCoreParent); 2396StylusLogic.CurrentStylusLogicReevaluateCapture(this, oldParent, isCoreParent);
System\Windows\UIElement3D.cs (2)
372StylusLogic.CurrentStylusLogicReevaluateStylusOver(this, oldParent, isCoreParent); 377StylusLogic.CurrentStylusLogicReevaluateCapture(this, oldParent, isCoreParent);