1 implementation of Invoke
Microsoft.Maui (1)
Handlers\Element\ElementHandler.cs (1)
90 public virtual void Invoke(string command, object? args)
33 references to Invoke
Microsoft.Maui (3)
Handlers\ElementHandlerExtensions.cs (2)
77 handler?.Invoke(commandName, args); 84 handler?.Invoke(commandName, args);
Handlers\View\ViewHandler.cs (1)
472 layout.Handler?.Invoke(nameof(ILayoutHandler.UpdateZIndex), view);
Microsoft.Maui.Controls (27)
Application\Application.cs (5)
64 Handler?.Invoke(ApplicationHandler.TerminateCommandKey); 470 Handler?.Invoke(nameof(IApplication.CloseWindow), window); 512 Handler?.Invoke(nameof(IApplication.OpenWindow), new OpenWindowRequest(State: state)); 517 Handler?.Invoke(nameof(IApplication.CloseWindow), window); 522 Handler?.Invoke(nameof(IApplication.ActivateWindow), window);
Cells\Cell.cs (1)
276 Handler?.Invoke("ForceUpdateSizeRequested", null);
GraphicsView\GraphicsView.cs (1)
29 Handler?.Invoke(nameof(IGraphicsView.Invalidate));
HybridWebView\HybridWebView.cs (1)
75 Handler?.Invoke(
Layout\Layout.cs (2)
300 Handler?.Invoke(nameof(ILayoutHandler.Clear)); 336 Handler?.Invoke(action, new Maui.Handlers.LayoutHandlerUpdate(index, view));
Menu\MenuBar.cs (1)
127 Handler?.Invoke(action, new Maui.Handlers.MenuBarHandlerUpdate(index, view));
Menu\MenuBarItem.cs (1)
123 Handler?.Invoke(action, new Maui.Handlers.MenuBarItemHandlerUpdate(index, view));
Menu\MenuFlyout.cs (1)
105 Handler?.Invoke(action, new Maui.Handlers.ContextFlyoutItemHandlerUpdate(index, view));
Menu\MenuFlyoutSubItem.cs (1)
99 Handler?.Invoke(action, new Maui.Handlers.MenuFlyoutSubItemHandlerUpdate(index, view));
NavigationPage\NavigationPage.cs (1)
454 Handler?.Invoke(nameof(IStackNavigation.RequestNavigation), eventArgs);
ScrollView\ScrollView.cs (2)
379 Handler.Invoke(nameof(IScrollView.RequestScrollTo), ConvertRequestMode(e).ToRequest()); 424 Handler?.Invoke(nameof(IScrollView.RequestScrollTo), request);
Shell\ShellSection.cs (1)
1235 Handler.Invoke(nameof(IStackNavigation.RequestNavigation), eventArgs);
SwipeView\SwipeView.cs (2)
406 Handler?.Invoke(nameof(ISwipeView.RequestOpen), swipeOpenRequest); 411 Handler?.Invoke(nameof(ISwipeView.RequestClose), swipeCloseRequest);
VisualElement\VisualElement.cs (3)
1243 Handler?.Invoke(nameof(IView.Unfocus)); 1868 view.Handler?.Invoke(nameof(IView.ZIndex)); 1938 protected virtual void InvalidateMeasureOverride() => Handler?.Invoke(nameof(IView.InvalidateMeasure));
WebView\WebView.cs (4)
114 Handler?.Invoke(nameof(IWebView.Eval), script); 168 Handler?.Invoke(nameof(IWebView.GoBack)); 175 Handler?.Invoke(nameof(IWebView.GoForward)); 182 Handler?.Invoke(nameof(IWebView.Reload));
Microsoft.Maui.Controls.Maps (3)
HandlerImpl\Map.Impl.cs (1)
36 Handler?.Invoke(nameof(IMap.MoveToRegion), _lastMoveToRegion);
Map.cs (2)
202 Handler?.Invoke(nameof(IMap.MoveToRegion), _lastMoveToRegion); 263 Handler?.Invoke(nameof(Maui.Maps.Handlers.IMapHandler.UpdateMapElement), args);