Поделиться через


NavigationViewHandler Класс

Определение

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
Наследование
Реализации

Конструкторы

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

Поля

CommandMapper
Mapper

Свойства

ContainerView

Возвращает представление, выступающее в качестве контейнера для PlatformView.

(Унаследовано от ViewHandler)
HasContainer

Возвращает или задает значение, указывающее, содержится ли PlatformView объект в представлении.

(Унаследовано от ViewHandler)
MauiContext (Унаследовано от ElementHandler)
NeedsContainer

Возвращает значение, указывающее, требуется ли представлению VirtualView контейнера.

(Унаследовано от ViewHandler)
PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Services (Унаследовано от ElementHandler)
VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы

ConnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Унаследовано от ElementHandler)
PlatformArrange(Rect) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
RequestNavigation(INavigationViewHandler, IStackNavigation, Object)
SetMauiContext(IMauiContext) (Унаследовано от ElementHandler)
SetupContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Унаследовано от ElementHandler)

Явные реализации интерфейса

IElementHandler.DisconnectHandler() (Унаследовано от ElementHandler)
IElementHandler.PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
INavigationViewHandler.PlatformView
INavigationViewHandler.VirtualView
IViewHandler.ContainerView (Унаследовано от ViewHandler)
IViewHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы расширения

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

Применяется к