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