39 references to PlatformView
Microsoft.Maui.Controls (39)
Platform\GestureManager\GesturePlatformManager.iOS.cs (39)
96
if (
PlatformView
!= null)
97
PlatformView
.RemoveGestureRecognizer(uiGestureRecognizer);
103
if (
PlatformView
!= null && OperatingSystem.IsIOSVersionAtLeast(11))
107
PlatformView
.RemoveInteraction(interaction);
278
eventTracker.
PlatformView
is { } platformView)
355
var translationInView = r.TranslationInView(eventTracker?.
PlatformView
);
417
var originPoint = pointerGesture.LocationInView(eventTracker?.
PlatformView
);
437
var bounds = eventTracker?.
PlatformView
?.Bounds;
486
var originPoint = sender.LocationInView(eventTracker?.
PlatformView
);
569
if (_dragAndDropDelegate != null &&
PlatformView
!= null)
573
foreach (var interaction in
PlatformView
.Interactions)
587
if (
PlatformView
!= null &&
590
(
PlatformView
.AccessibilityTraits & UIAccessibilityTrait.Button) != UIAccessibilityTrait.Button)
592
PlatformView
.AccessibilityTraits |= UIAccessibilityTrait.Button;
600
_defaultAccessibilityRespondsToUserInteraction =
PlatformView
.AccessibilityRespondsToUserInteraction;
601
PlatformView
.AccessibilityRespondsToUserInteraction = true;
634
if (uIDragInteraction == null &&
PlatformView
!= null)
639
PlatformView
.AddInteraction(interaction);
647
if (uIDropInteraction == null &&
PlatformView
!= null)
651
PlatformView
.AddInteraction(interaction);
663
if (nativeRecognizer != null &&
PlatformView
!= null)
667
PlatformView
.AddGestureRecognizer(nativeRecognizer);
675
if (!dragFound && uIDragInteraction != null &&
PlatformView
!= null)
676
PlatformView
.RemoveInteraction(uIDragInteraction);
678
if (!dropFound && uIDropInteraction != null &&
PlatformView
!= null)
679
PlatformView
.RemoveInteraction(uIDropInteraction);
701
if (
PlatformView
!= null)
703
PlatformView
.RemoveGestureRecognizer(uiRecognizer);
716
if (
PlatformView
!= null && OperatingSystem.IsIOSVersionAtLeast(11))
718
for (int i =
PlatformView
.Interactions.Length - 1; i >= 0; i--)
720
var interaction = (IUIInteraction)
PlatformView
.Interactions[i];
723
PlatformView
.RemoveInteraction(interaction);
746
var platformView = manager.
PlatformView
;
785
if (
PlatformView
!= null)
787
PlatformView
.AccessibilityTraits &= ~_addedFlags;
792
PlatformView
.AccessibilityRespondsToUserInteraction = _defaultAccessibilityRespondsToUserInteraction.Value;
836
if (
PlatformView
!= null)
838
foreach (var interaction in
PlatformView
.Interactions)
853
PlatformView
?.AddInteraction(fakeInteraction);