Implemented interface member:
property
Handler
Microsoft.Maui.IView.Handler
4 writes to Handler
Microsoft.Maui.Controls (3)
Compatibility\Handlers\Shell\iOS\ShellFlyoutContentRenderer.cs (1)
130 _footer.Handler = null;
Compatibility\Handlers\Shell\iOS\ShellFlyoutLayoutManager.cs (1)
54 oldContent.Handler = null;
Compatibility\Handlers\Shell\iOS\UIContainerCell.cs (1)
78 View.Handler = null;
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Platform.cs (1)
92 element.Handler = handler;
167 references to Handler
Microsoft.AspNetCore.Components.WebView.Maui (3)
BlazorWebView.cs (3)
77 return ((BlazorWebViewHandler)(Handler!)).CreateFileProvider(contentRootDir); 92 if (Handler is null) 97 return await ((BlazorWebViewHandler)(Handler!)).TryDispatchAsync(workItem);
Microsoft.Maui.Controls (154)
Border\Border.cs (3)
315 Handler?.UpdateValue(nameof(IBorderStroke.Shape)); 319 Handler?.UpdateValue(nameof(IBorderStroke.StrokeDashPattern)); 325 Handler?.UpdateValue(nameof(IBorderStroke.StrokeDashPattern));
BoxView\BoxView.cs (1)
63 Handler?.UpdateValue(nameof(IShapeView.Shape));
Button\Button.cs (5)
400 Handler?.UpdateValue(nameof(ITextStyle.Font)); 475 Handler?.UpdateValue(nameof(IButtonStroke.StrokeColor)); 477 Handler?.UpdateValue(nameof(IButtonStroke.StrokeThickness)); 479 Handler?.UpdateValue(nameof(IImage.Source)); 500 Handler?.UpdateValue(nameof(ContentLayout));
Button\Button.iOS.cs (3)
35 var platformButton = Handler?.PlatformView as UIButton; 174 var platformButton = Handler?.PlatformView as UIButton; 418 button.Handler.MauiContext?.CreateLogger<ButtonHandler>()?.LogWarning("Can not load Button ImageSource");
CheckBox\CheckBox.cs (1)
19 ((CheckBox)bindable).Handler?.UpdateValue(nameof(ICheckBox.Foreground));
Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (5)
385 var detailRenderer = FlyoutPage.Detail.Handler as IPlatformViewHandler; 569 (FlyoutPage.Detail?.Handler as IPlatformViewHandler) 590 if (((FlyoutPage)Element).Detail?.Handler is IPlatformViewHandler nvh) 600 if (((FlyoutPage)Element).Detail?.Handler is IPlatformViewHandler nvh) 800 var detailView = ((IPlatformViewHandler)FlyoutPage.Detail.Handler).ViewController.View;
Compatibility\Handlers\iOS\DisposeHelpers.cs (3)
15 ve.Handler?.DisconnectHandler(); 17 if (ve.Handler is IDisposable disposable) 24 renderer = (visualElement.Handler as IPlatformViewHandler);
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
934 target.Handler?.DisconnectHandler();
Compatibility\Handlers\NavigationPage\iOS\NavigationRenderer.cs (15)
299 var renderer = (IPlatformViewHandler)page.Handler; 320 var renderer = (IPlatformViewHandler)page.Handler; 382 var pageRenderer = (IPlatformViewHandler)page.Handler; 436 var renderer = (IPlatformViewHandler)page.Handler; 615 if (before.Handler is not IPlatformViewHandler nvh) 657 if (page?.Handler is not IPlatformViewHandler nvh) 691 if (controller?.Child is not Page child || child.Handler == null) 877 if (Current is Page current && current.Handler is not null) 1253 var childView = (Child?.Handler as IPlatformViewHandler)?.ViewController?.View; 1691 if (Child?.Handler is IPlatformViewHandler ivh) 1698 if (Child?.Handler is IPlatformViewHandler ivh) 1705 if (Child?.Handler is IPlatformViewHandler ivh) 1716 if (Child?.Handler is IPlatformViewHandler ivh) 1738 return (Current.Handler as IPlatformViewHandler)?.ViewController; 1921 _child = (IPlatformViewHandler)_view.Handler;
Compatibility\Handlers\Shell\iOS\ShellFlyoutContentRenderer.cs (1)
122 var oldRenderer = (IPlatformViewHandler)_footer.Handler;
Compatibility\Handlers\Shell\iOS\ShellFlyoutLayoutManager.cs (1)
48 var oldRenderer = (IPlatformViewHandler)Content.Handler;
Compatibility\Handlers\Shell\iOS\ShellSectionRenderer.cs (5)
349 var beforeRenderer = (IPlatformViewHandler)before.Handler; 470 var renderer = (IPlatformViewHandler)page.Handler; 523 var renderer = page.Handler; 539 var renderer = (IPlatformViewHandler)child.Handler; 766 if (currentPage?.Handler is IPlatformViewHandler pvh &&
Compatibility\Handlers\Shell\iOS\ShellSectionRootRenderer.cs (1)
545 page.Handler?.DisconnectHandler();
Compatibility\Handlers\Shell\iOS\ShellTableViewSource.cs (1)
123 (view.View.Handler as IPlatformViewHandler)
Compatibility\Handlers\Shell\iOS\UIContainerCell.cs (1)
24 _renderer = (IPlatformViewHandler)view.Handler;
Compatibility\Handlers\TabbedPage\iOS\TabbedRenderer.cs (2)
162 if (page?.Handler is not IPlatformViewHandler nvh) 329 page.Handler?.DisconnectHandler();
ContentPage\ContentPage.cs (2)
81 if (Handler is null) 88 Handler?.PlatformArrange(Frame);
ContentPage\ContentPage.Mapper.cs (1)
40 Handler
ContentPresenter.cs (1)
124 Handler?.PlatformArrange(Frame);
DatePicker\DatePicker.cs (1)
147 Handler?.UpdateValue(nameof(ITextStyle.Font));
FlyoutPage\FlyoutPage.cs (3)
324 if (Handler is not null) 326 Handler?.UpdateValue(nameof(FlyoutBehavior)); 347 Handler?.UpdateValue(nameof(FlyoutBehavior));
GraphicsView\GraphicsView.cs (1)
29 Handler?.Invoke(nameof(IGraphicsView.Invalidate));
Handlers\Items\iOS\ItemsViewController.cs (1)
589 formsElement?.Handler?.DisconnectHandler();
Handlers\Items\iOS\TemplateHelpers.cs (1)
18 var handler = view.Handler;
Handlers\Items2\iOS\ItemsViewController2.cs (1)
334 formsElement?.Handler?.DisconnectHandler();
Handlers\Items2\iOS\TemplatedCell2.cs (1)
137 PlatformHandler = virtualView.Handler as IPlatformViewHandler;
HybridWebView\HybridWebView.cs (3)
75 Handler?.Invoke( 107 var invokeResult = await Handler?.InvokeAsync( 126 var result = await Handler!.InvokeAsync(nameof(IHybridWebView.EvaluateJavaScriptAsync),
ImageButton\ImageButton.cs (2)
257 Handler?.UpdateValue(nameof(IImageButton.StrokeThickness)); 259 Handler?.UpdateValue(nameof(IImageButton.StrokeColor));
IndicatorView\IndicatorView.cs (1)
138 return Handler?.GetDesiredSize(widthConstraint, heightConstraint) ?? new();
InputView\InputView.cs (1)
251 Handler?.UpdateValue(nameof(ITextStyle.Font));
Label\Label.cs (1)
259 Handler?.UpdateValue(nameof(ITextStyle.Font));
Label\Label.iOS.cs (1)
56 if (Handler is LabelHandler labelHandler)
Layout\Layout.cs (2)
298 Handler?.Invoke(nameof(ILayoutHandler.Clear)); 334 Handler?.Invoke(action, new Maui.Handlers.LayoutHandlerUpdate(index, view));
LegacyLayouts\Layout.cs (1)
35 public ILayoutHandler LayoutHandler => Handler as ILayoutHandler;
NavigationPage\NavigationPage.cs (5)
454 Handler?.Invoke(nameof(IStackNavigation.RequestNavigation), eventArgs); 629 if (Handler == null) 642 if (Handler != null) 708 .FireAndForget(Handler); 713 if (Handler == null && _waitingCount > 0)
Page\Page.cs (3)
477 .FireAndForget(Handler); 562 if (Handler is null) 858 set => ToolbarElement.SetValue(ref _toolbar, value, Handler);
Picker\Picker.cs (4)
128 Handler?.UpdateValue(nameof(ITextStyle.Font)); 254 Handler?.UpdateValue(nameof(IPicker.Items)); 302 Handler?.UpdateValue(nameof(IPicker.Items)); 349 Handler?.UpdateValue(nameof(IPicker.Items));
Platform\AlertManager\AlertManager.iOS.cs (1)
183 if (sender.Handler is IPlatformViewHandler pvh &&
Platform\iOS\DragAndDropDelegate.cs (3)
57 this.HandleDropCompleted(cdi.View, new PlatformDropCompletedEventArgs(cdi.View.Handler.PlatformView as UIView, interaction, session, operation)); 124 HandleDrop(view, cdi.DataPackage, session, new PlatformDropEventArgs(cdi.View.Handler.PlatformView as UIView, interaction, session)); 125 HandleDropCompleted(cdi.View, new PlatformDropCompletedEventArgs(cdi.View.Handler.PlatformView as UIView, interaction, session));
Platform\ModalNavigationManager\ModalNavigationManager.cs (2)
91 _window?.Page?.Handler is not null && 335 if (_currentPage.Handler is null)
Platform\ModalNavigationManager\ModalNavigationManager.iOS.cs (6)
38 _currentPage.Handler is IPlatformViewHandler pvh && 72 if (_window?.Page?.Handler is IPlatformViewHandler pvh && 89 var controller = (modal.Handler as IPlatformViewHandler)?.ViewController; 110 if (_window?.Page?.Handler is not null) 130 var controller = (topPage?.Handler as IPlatformViewHandler)?.ViewController; 175 var uiViewController = (_platformModalPages[_platformModalPages.Count - 1].Handler as IPlatformViewHandler)?.ViewController;
RadioButton\RadioButton.cs (2)
258 Handler?.UpdateValue(nameof(ITextStyle.Font)); 297 return Handler?.GetDesiredSize(widthConstraint, heightConstraint) ?? new();
RadioButton\RadioButton.Mapper.cs (1)
10 IMauiContext MauiContext => Handler?.MauiContext ?? throw new InvalidOperationException("MauiContext not set");
ScrollView\ScrollView.cs (6)
44 if (Handler is not null && _pendingScrollToRequested is not null) 167 Handler?.UpdateValue(nameof(Content)); 374 if (Handler is null) 377 Handler.Invoke(nameof(IScrollView.RequestScrollTo), ConvertRequestMode(e).ToRequest()); 422 Handler?.Invoke(nameof(IScrollView.RequestScrollTo), request); 463 Handler?.PlatformArrange(Frame);
Shapes\Ellipse.cs (1)
26 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shapes\Line.cs (1)
76 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shapes\Path.cs (1)
104 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shapes\Polygon.cs (1)
50 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shapes\Polyline.cs (1)
49 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shapes\Rectangle.cs (1)
46 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shapes\RoundRectangle.cs (1)
53 Handler?.UpdateValue(nameof(IShapeView.Shape));
Shell\Shell.cs (4)
1175 ShellController.FlyoutItemsChanged += (_, __) => Handler?.UpdateValue(nameof(FlyoutItems)); 1176 ShellController.ItemsCollectionChanged += (_, __) => Handler?.UpdateValue(nameof(Items)); 1872 Handler?.UpdateValue(nameof(IFlyoutView.FlyoutBehavior)); 2001 Handler?.UpdateValue(nameof(IFlyoutView.IsPresented));
SwipeView\SwipeView.cs (8)
167 swipeView?.Handler?.UpdateValue(nameof(LeftItems)); 170 swipeView?.Handler?.UpdateValue(nameof(RightItems)); 173 swipeView?.Handler?.UpdateValue(nameof(TopItems)); 176 swipeView?.Handler?.UpdateValue(nameof(BottomItems)); 251 Handler?.UpdateValue(nameof(ISwipeView.IsOpen)); 281 Handler?.UpdateValue(nameof(IsEnabled)); 406 Handler?.Invoke(nameof(ISwipeView.RequestOpen), swipeOpenRequest); 411 Handler?.Invoke(nameof(ISwipeView.RequestClose), swipeCloseRequest);
Switch\Switch.cs (1)
87 Handler?.UpdateValue(nameof(ISwitch.IsOn));
TabbedPage\TabbedPage.cs (2)
110 Handler?.UpdateValue(TabbedPage.ItemsSourceProperty.PropertyName); 128 Handler?.UpdateValue(TabbedPage.ItemsSourceProperty.PropertyName);
TabbedPage\TabbedPage.iOS.cs (2)
44 view.CurrentPage.Handler.UpdateValue(nameof(PlatformConfiguration.iOSSpecific.Page.PrefersHomeIndicatorAutoHiddenProperty)); 49 view.CurrentPage.Handler.UpdateValue(nameof(PlatformConfiguration.iOSSpecific.Page.PrefersStatusBarHiddenProperty));
TemplatedView\TemplatedView.cs (2)
127 Handler?.UpdateValue(nameof(IContentView.Content)); 143 Handler?.PlatformArrange(Frame);
TimePicker\TimePicker.cs (1)
134 Handler?.UpdateValue(nameof(ITextStyle.Font));
ViewExtensions.cs (2)
465 if (view.Handler is IViewHandler handler) 514 if (currentPage.Handler?.MauiContext is IMauiContext mauiContext)
VisualElement\VisualElement.cs (7)
1240 Handler?.Invoke(nameof(IView.Unfocus)); 1314 return Handler?.GetDesiredSize(widthConstraint, heightConstraint) ?? new(); 1809 IsPlatformEnabled = Handler != null; 1908 /// <remarks>Subclasses will stil want to call <see cref="ArrangeOverride"/> on the base class or call <see cref="IViewHandler.PlatformArrange"/> on the <see cref="Handler"/> .</remarks> 1912 Handler?.PlatformArrange(Frame); 1935 protected virtual void InvalidateMeasureOverride() => Handler?.Invoke(nameof(IView.InvalidateMeasure)); 2196 bool isLoaded = (Handler as IPlatformViewHandler)?.PlatformView?.IsLoaded() == true;
VisualElement\VisualElement.Mapper.cs (1)
55 Handler?.UpdateValue(nameof(IView.Semantics));
VisualElement\VisualElement.Platform.cs (2)
26 Handler?.PlatformView is PlatformView view) 53 if (Handler?.PlatformView is PlatformView detachingView &&
WebView\WebView.cs (7)
112 Handler?.Invoke(nameof(IWebView.Eval), script); 147 result = await Handler.InvokeAsync(nameof(IWebView.EvaluateJavaScriptAsync), 166 Handler?.Invoke(nameof(IWebView.GoBack)); 173 Handler?.Invoke(nameof(IWebView.GoForward)); 180 Handler?.Invoke(nameof(IWebView.Reload)); 338 Handler?.UpdateValue(nameof(IWebView.CanGoBack)); 350 Handler?.UpdateValue(nameof(IWebView.CanGoForward));
Window\Window.cs (1)
637 if (newPage.Handler != null)
Microsoft.Maui.Controls.Foldable (3)
DualScreenInfo.cs (1)
50 _dualScreenService ?? Element?.Handler?.MauiContext?.Services?.GetService<IFoldableService>();
TwoPaneViewLayoutGuide.cs (2)
25 _dualScreenService = _layout?.Handler?.MauiContext?.Services?.GetService<IFoldableService>(); 69 if (_layout.Handler != null)
Microsoft.Maui.Controls.Maps (7)
HandlerImpl\Map.Impl.cs (1)
36 Handler?.Invoke(nameof(IMap.MoveToRegion), _lastMoveToRegion);
Map.cs (6)
202 Handler?.Invoke(nameof(IMap.MoveToRegion), _lastMoveToRegion); 234 Handler?.UpdateValue(nameof(IMap.Pins)); 239 Handler?.UpdateValue(nameof(IMap.Elements)); 263 Handler?.Invoke(nameof(Maui.Maps.Handlers.IMapHandler.UpdateMapElement), args); 308 Handler?.UpdateValue(nameof(IMap.Pins)); 323 Handler?.UpdateValue(nameof(IMap.Pins));