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