Share via


ViewHandler<TVirtualView,TPlatformView> Class

Definition

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

Type Parameters

TVirtualView
TPlatformView
Inheritance
ViewHandler<TVirtualView,TPlatformView>
Derived
Implements

Constructors

ViewHandler<TVirtualView,TPlatformView>(IPropertyMapper, CommandMapper)

Properties

ContainerView

Gets the view that acts as a container for the PlatformView.

(Inherited from ViewHandler)
HasContainer

Gets or sets a value that indicates whether the PlatformView is contained within a view.

(Inherited from ViewHandler)
MauiContext (Inherited from ElementHandler)
NeedsContainer

Gets a value that indicates whether or not the VirtualView needs a container view.

(Inherited from ViewHandler)
PlatformView
PlatformViewFactory
Services (Inherited from ElementHandler)
VirtualView

Methods

ConnectHandler(TPlatformView)
CreatePlatformView()
DisconnectHandler(TPlatformView)
GetDesiredSize(Double, Double)
Invoke(String, Object) (Inherited from ElementHandler)
PlatformArrange(Rect)
RemoveContainer()
SetMauiContext(IMauiContext) (Inherited from ElementHandler)
SetupContainer()
SetVirtualView(IElement)
SetVirtualView(IView)
UpdateValue(String) (Inherited from ElementHandler)

Explicit Interface Implementations

IElementHandler.DisconnectHandler() (Inherited from ElementHandler)
IElementHandler.PlatformView
IElementHandler.VirtualView
IViewHandler.ContainerView (Inherited from ViewHandler)
IViewHandler.VirtualView

Extension Methods

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

Applies to