4 implementations of PlatformView
Microsoft.Maui (4)
Handlers\Element\ElementHandler.cs (1)
31
public object?
PlatformView
{ get; private protected set; }
Handlers\Element\ElementHandlerOfT.cs (1)
33
object? IElementHandler.
PlatformView
=> base.PlatformView;
Handlers\View\ViewHandler.cs (1)
160
public new PlatformView?
PlatformView
Handlers\View\ViewHandlerOfT.cs (1)
50
object? IElementHandler.
PlatformView
=> base.PlatformView;
35 references to PlatformView
Microsoft.Maui (29)
Core\Extensions\VisualTreeElementExtensions.cs (2)
279
pvh.
PlatformView
is not null)
281
var indexOfPlatformView = platformParentPath.IndexOf(pvh.
PlatformView
);
Handlers\ElementHandlerExtensions.cs (1)
100
handler.
PlatformView
is not null;
Handlers\IViewHandler.cs (1)
11
/// Gets or sets a value that indicates whether the <see cref="IElementHandler.
PlatformView
"/> is contained within a view.
Handlers\View\ViewHandler.cs (18)
227
((PlatformView?)handler.
PlatformView
)?.UpdateWidth(view);
237
((PlatformView?)handler.
PlatformView
)?.UpdateHeight(view);
247
((PlatformView?)handler.
PlatformView
)?.UpdateMinimumHeight(view);
257
((PlatformView?)handler.
PlatformView
)?.UpdateMaximumHeight(view);
267
((PlatformView?)handler.
PlatformView
)?.UpdateMinimumWidth(view);
277
((PlatformView?)handler.
PlatformView
)?.UpdateMaximumWidth(view);
287
((PlatformView?)handler.
PlatformView
)?.UpdateIsEnabled(view);
300
((PlatformView?)handler.
PlatformView
)?.UpdateVisibility(view);
310
if (handler.
PlatformView
is not PlatformView platformView)
333
((PlatformView?)handler.
PlatformView
)?.UpdateFlowDirection(view);
347
((PlatformView?)handler.
PlatformView
)?.UpdateOpacity(1);
350
((PlatformView?)handler.
PlatformView
)?.UpdateOpacity(view);
360
((PlatformView?)handler.
PlatformView
)?.UpdateAutomationId(view);
397
((PlatformView?)handler.
PlatformView
)?.UpdateSemantics(view);
408
(handler.
PlatformView
as PlatformView)?.InvalidateMeasure(view);
487
((PlatformView?)handler.
PlatformView
)?.Focus(request);
511
((PlatformView?)handler.
PlatformView
)?.UpdateInputTransparent(handler, view);
523
((PlatformView?)handler.
PlatformView
)?.Unfocus(view);
Platform\ElementExtensions.cs (3)
117
if (viewHandler.
PlatformView
is PlatformView platformView)
121
return (view.Handler?.
PlatformView
as PlatformView) ?? throw new InvalidOperationException($"Unable to convert {view} to {typeof(PlatformView)}");
129
if (handler.
PlatformView
is not PlatformView result)
Platform\ImageSourcePartLoader.cs (1)
60
if (Setter.Handler is not IElementHandler handler || handler.
PlatformView
is not PlatformView platformView)
Platform\ViewExtensions.cs (1)
123
return pvh.
PlatformView
== platformView || pvh.ContainerView == platformView;
SemanticExtensions.cs (1)
24
if (element?.Handler?.
PlatformView
is not PlatformView platformView)
SoftInputExtensions.cs (1)
131
if (iView.Handler?.
PlatformView
is not PlatformView platform)
Microsoft.Maui.Controls (6)
Interactivity\PlatformBehavior.cs (2)
79
if (bindable?.Handler?.
PlatformView
is TPlatformView platformView)
105
if (sender is TView view && view.Handler.
PlatformView
is TPlatformView platformView)
Platform\GestureManager\GestureManager.cs (2)
69
_platformView != handler.
PlatformView
||
82
_platformView = handler.
PlatformView
;
Platform\PlatformEffect.cs (2)
22
Control = (PlatformView)Element.Handler.
PlatformView
;
25
Container = (PlatformView)(vh.ContainerView ?? vh.
PlatformView
);