12 references to GetCurrentStylusLogicAs
PresentationCore (12)
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 (2)
241PointerLogic pointerLogic = StylusLogic.GetCurrentStylusLogicAs<PointerLogic>(); 604StylusLogic.GetCurrentStylusLogicAs<PointerLogic>()?.GetManagerForSource(source);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
3138PenContexts 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 (1)
26WispLogic stylusLogic = StylusLogic.GetCurrentStylusLogicAs<WispLogic>();
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
72_pointerLogic = StylusLogic.GetCurrentStylusLogicAs<PointerLogic>();
System\Windows\InterOp\HwndStylusInputProvider.cs (1)
32_stylusLogic = StylusLogic.GetCurrentStylusLogicAs<WispLogic>();