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