Sdílet prostřednictvím


NavigationViewHandler Třída

Definice

public ref class NavigationViewHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IStackNavigationView ^, System::Object ^>, Microsoft::Maui::Handlers::INavigationViewHandler
public class NavigationViewHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IStackNavigationView,object>, Microsoft.Maui.Handlers.INavigationViewHandler
type NavigationViewHandler = class
    inherit ViewHandler<IStackNavigationView, obj>
    interface INavigationViewHandler
    interface IViewHandler
    interface IElementHandler
Public Class NavigationViewHandler
Inherits ViewHandler(Of IStackNavigationView, Object)
Implements INavigationViewHandler
Dědičnost
Implementuje

Konstruktory

NavigationViewHandler()
NavigationViewHandler(IPropertyMapper)
NavigationViewHandler(IPropertyMapper, CommandMapper)

Pole

CommandMapper
Mapper

Vlastnosti

ContainerView

Získá zobrazení, které funguje jako kontejner pro PlatformView.

(Zděděno od ViewHandler)
HasContainer

Získá nebo nastaví hodnotu, která označuje, zda PlatformView je obsažen v zobrazení.

(Zděděno od ViewHandler)
MauiContext (Zděděno od ElementHandler)
NeedsContainer

Získá hodnotu, která označuje, zda VirtualView potřebuje zobrazení kontejneru.

(Zděděno od ViewHandler)
PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Services (Zděděno od ElementHandler)
VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody

ConnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Zděděno od ElementHandler)
PlatformArrange(Rect) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
RequestNavigation(INavigationViewHandler, IStackNavigation, Object)
SetMauiContext(IMauiContext) (Zděděno od ElementHandler)
SetupContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Zděděno od ElementHandler)

Explicitní implementace rozhraní

IElementHandler.DisconnectHandler() (Zděděno od ElementHandler)
IElementHandler.PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
INavigationViewHandler.PlatformView
INavigationViewHandler.VirtualView
IViewHandler.ContainerView (Zděděno od ViewHandler)
IViewHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody rozšíření

GetRequiredService<T>(IElementHandler)
GetRequiredService<T>(IElementHandler, Type)
GetService<T>(IElementHandler)
GetService<T>(IElementHandler, Type)
GetServiceProvider(IElementHandler)
IsConnected(IElementHandler)

Platí pro