Implemented interface member:
property
Handler
Microsoft.Maui.IElement.Handler
6 writes to Handler
Microsoft.Maui.Controls (6)
Compatibility\Handlers\ViewHandlerDelegator.cs (1)
61
element.
Handler
= null;
Compatibility\Handlers\VisualElementRenderer.cs (2)
268
oldElement.
Handler
= null;
273
currentVirtualView.
Handler
= nativeViewHandler;
NavigationPage\NavigationPage.cs (1)
407
page.
Handler
= null;
VisualElement\VisualElement.cs (2)
1802
set => base.
Handler
= value;
2138
base.
Handler
= value;
48 references to Handler
Microsoft.Maui.Controls (46)
Application\Application.cs (6)
63
Handler
?.Invoke(ApplicationHandler.TerminateCommandKey);
420
_logger ??=
Handler
?.MauiContext?.CreateLogger<Application>();
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);
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
941
descendant.
Handler
?.DisconnectHandler();
Compatibility\Handlers\ListView\iOS\ViewCellRenderer.cs (1)
65
viewCell?.
Handler
?.DisconnectHandler();
Compatibility\Handlers\TableView\iOS\TableViewModelRenderer.cs (1)
84
result.
Handler
?.DisconnectHandler();
Compatibility\Handlers\ViewHandlerDelegator.cs (1)
60
if (element.
Handler
== _viewHandler)
Compatibility\Handlers\VisualElementRenderer.cs (3)
236
get => ((Element?.
Handler
)?.PlatformView as PlatformView) ?? this;
267
if (oldElement?.
Handler
!= null)
272
if (currentVirtualView.
Handler
!= nativeViewHandler)
Element\Element.cs (3)
686
Handler
?.UpdateValue(property);
960
EffectsFactory EffectsFactory => _effectsFactory ??=
Handler
.MauiContext.Services.GetRequiredService<EffectsFactory>();
989
EffectControlProvider = (
Handler
!= null) ? this : null;
Interactivity\PlatformBehavior.cs (4)
52
if (bindable.
Handler
!= null)
79
if (bindable?.
Handler
?.PlatformView is TPlatformView platformView)
105
if (sender is TView view && view.
Handler
.PlatformView is TPlatformView platformView)
117
if (visualElement.
Handler
is not null)
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\MenuBarTracker.cs (1)
41
_parent?.
Handler
?.UpdateValue(_handlerProperty);
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));
Platform\AlertManager\AlertManager.iOS.cs (2)
30
IMauiContext mauiContext = window?.
Handler
?.MauiContext;
216
.FireAndForget(virtualView?.
Handler
?.MauiContext?.CreateLogger<AlertManager>());
Platform\ModalNavigationManager\ModalNavigationManager.cs (1)
92
_window.
Handler
is not null
Platform\PlatformEffect.cs (2)
22
Control = (PlatformView)Element.
Handler
.PlatformView;
24
if (Element.
Handler
is IViewHandler vh)
Shell\Shell.cs (2)
1603
CurrentItem?.
Handler
?.UpdateValue(Shell.TabBarIsVisibleProperty.PropertyName);
1613
CurrentItem?.
Handler
?.UpdateValue(Shell.TabBarIsVisibleProperty.PropertyName);
Shell\ShellSection.cs (1)
1235
Handler
.Invoke(nameof(IStackNavigation.RequestNavigation), eventArgs);
ViewExtensions.cs (1)
520
return window.
Handler
?.MauiContext;
VisualElement\VisualElement.cs (2)
1801
get => (IViewHandler?)base.
Handler
;
2132
get => base.
Handler
;
VisualElement\VisualElement.Platform.cs (1)
25
if (Window?.
Handler
?.PlatformView is not null &&
Window\Window.cs (7)
77
set => ToolbarElement.SetValue(ref _toolbar, value,
Handler
);
277
Handler
?.UpdateValue(nameof(IWindow.Content));
317
Handler
?.MauiContext ?? throw new InvalidOperationException("MauiContext is null.");
540
Handler
?.DisconnectHandler();
565
var result =
Handler
?.InvokeWithResult(nameof(IWindow.RequestDisplayDensity), request);
655
Handler
?.UpdateValue(nameof(IWindow.FlowDirection));
672
Handler
?.UpdateValue(nameof(ITitledElement.Title));
Window\Window.iOS.cs (1)
10
(
Handler
?.PlatformView as UIWindow) ?? throw new InvalidOperationException("Window should have a UIWindow set.");
Microsoft.Maui.Controls.Maps (2)
HandlerImpl\Polygon.Impl.cs (1)
145
Handler
?.UpdateValue(nameof(Geopath));
HandlerImpl\Polyline.Impl.cs (1)
144
Handler
?.UpdateValue(nameof(Geopath));