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


ElementHandler<TVirtualView,TPlatformView> Класс

Определение

generic <typename TVirtualView, typename TPlatformView>
 where TVirtualView : class, IElement where TPlatformView : classpublic ref class ElementHandler abstract : Microsoft::Maui::Handlers::ElementHandler
public abstract class ElementHandler<TVirtualView,TPlatformView> : Microsoft.Maui.Handlers.ElementHandler where TVirtualView : class, IElement where TPlatformView : class
type ElementHandler<'VirtualView, 'PlatformView (requires 'VirtualView : null and 'VirtualView :> IElement and 'PlatformView : null)> = class
    inherit ElementHandler
    interface IElementHandler
Public MustInherit Class ElementHandler(Of TVirtualView, TPlatformView)
Inherits ElementHandler

Параметры типа

TVirtualView
TPlatformView
Наследование
ElementHandler<TVirtualView,TPlatformView>
Производный
Реализации

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

ElementHandler<TVirtualView,TPlatformView>(IPropertyMapper, CommandMapper)

Свойства

MauiContext (Унаследовано от ElementHandler)
PlatformView
Services (Унаследовано от ElementHandler)
VirtualView

Методы

ConnectHandler(TPlatformView)
CreatePlatformElement()
DisconnectHandler(TPlatformView)
Invoke(String, Object) (Унаследовано от ElementHandler)
SetMauiContext(IMauiContext) (Унаследовано от ElementHandler)
SetVirtualView(IElement) (Унаследовано от ElementHandler)
UpdateValue(String) (Унаследовано от ElementHandler)

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

IElementHandler.DisconnectHandler() (Унаследовано от ElementHandler)
IElementHandler.PlatformView
IElementHandler.VirtualView

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

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

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