1 implementation of Invoke
Microsoft.Maui (1)
Handlers\Element\ElementHandler.cs (1)
90 public virtual void Invoke(string command, object? args)
34 references to Invoke
Microsoft.Maui (4)
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);
SoftInputExtensions.cs (1)
74 handler.Invoke(nameof(IView.Focus), new FocusRequest(false));
Microsoft.Maui.Controls (27)
Application\Application.cs (5)
63 Handler?.Invoke(ApplicationHandler.TerminateCommandKey); 469 Handler?.Invoke(nameof(IApplication.CloseWindow), window); 511 Handler?.Invoke(nameof(IApplication.OpenWindow), new OpenWindowRequest(State: state)); 516 Handler?.Invoke(nameof(IApplication.CloseWindow), window); 521 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)
298 Handler?.Invoke(nameof(ILayoutHandler.Clear)); 334 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)
377 Handler.Invoke(nameof(IScrollView.RequestScrollTo), ConvertRequestMode(e).ToRequest()); 422 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)
1240 Handler?.Invoke(nameof(IView.Unfocus)); 1865 view.Handler?.Invoke(nameof(IView.ZIndex)); 1935 protected virtual void InvalidateMeasureOverride() => Handler?.Invoke(nameof(IView.InvalidateMeasure));
WebView\WebView.cs (4)
112 Handler?.Invoke(nameof(IWebView.Eval), script); 166 Handler?.Invoke(nameof(IWebView.GoBack)); 173 Handler?.Invoke(nameof(IWebView.GoForward)); 180 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);