1 implementation of Handler
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1802 new public IViewHandler? Handler
7 writes to Handler
Microsoft.Maui (1)
HotReload\HotReloadExtensions.cs (1)
24 view.Handler = null;
Microsoft.Maui.Controls.Compatibility (6)
iOS\HandlerToRendererShim.cs (1)
52 ((IView)element).Handler = ViewHandler;
iOS\Platform.cs (1)
39 mauiView.Handler = new RendererToHandlerShim(ver);
RendererToHandlerShim.cs (4)
100 view.Handler = this; 114 view.Handler = null; 119 newView.Handler = this; 135 base.VirtualView.Handler = this;
28 references to Handler
Microsoft.Maui (9)
Core\Extensions\VisualTreeElementExtensions.cs (1)
320 if (visualElement is IView view && view.Handler is not null)
Handlers\View\ViewHandler.cs (1)
472 layout.Handler?.Invoke(nameof(ILayoutHandler.UpdateZIndex), view);
HotReload\HotReloadExtensions.cs (1)
15 if (view?.Handler == null)
Layouts\LayoutExtensions.cs (2)
15 if (view.Handler == null) 27 var measureWithoutMargins = view.Handler.GetDesiredSize(widthConstraint, heightConstraint);
SemanticExtensions.cs (1)
26 if (element?.Handler?.PlatformView is not PlatformView platformView)
SoftInputExtensions.cs (2)
122 iView.Handler is not IPlatformViewHandler platformViewHandler) 131 if (iView.Handler?.PlatformView is not PlatformView platform)
ViewExtensions.cs (1)
44 viewToDisconnect.Handler?.DisconnectHandler();
Microsoft.Maui.Controls (16)
Layout\Layout.cs (1)
105 view.Handler?.UpdateValue(nameof(Maui.ILayout.ClipsToBounds));
LegacyLayouts\Layout.cs (3)
167 view.Handler?.UpdateValue(nameof(Maui.ILayout.ClipsToBounds)); 230 if (child is IView fe && fe.Handler != null) 496 if (child is IView fe && fe.Handler != null)
Platform\GestureManager\GestureManager.cs (1)
59 var handler = _view.Handler;
ScrollView\ScrollView.cs (1)
310 if (Content is IView fe && fe.Handler != null)
Switch\Switch.cs (2)
23 ((IView)bindable)?.Handler?.UpdateValue(nameof(ISwitch.TrackColor)); 31 ((IView)bindable)?.Handler?.UpdateValue(nameof(ISwitch.TrackColor));
VisualElement\VisualElement.cs (8)
1498 fe.Handler?.UpdateValue(nameof(IView.Visibility)); 1709 fe.Handler?.UpdateValue(nameof(IView.Width)); 1710 fe.Handler?.UpdateValue(nameof(IView.Height)); 1711 fe.Handler?.UpdateValue(nameof(IView.MinimumHeight)); 1712 fe.Handler?.UpdateValue(nameof(IView.MinimumWidth)); 1713 fe.Handler?.UpdateValue(nameof(IView.MaximumHeight)); 1714 fe.Handler?.UpdateValue(nameof(IView.MaximumWidth)); 1868 view.Handler?.Invoke(nameof(IView.ZIndex));
Microsoft.Maui.Controls.Compatibility (3)
iOS\Platform.cs (2)
38 if (mauiView.Handler == null && newvalue is IVisualElementRenderer ver) 228 return new SizeRequest(iView.Handler.GetDesiredSize(widthConstraint, heightConstraint));
RendererToHandlerShim.cs (1)
118 var currentContext = newView.Handler?.MauiContext;