Aracılığıyla paylaş


ContentViewHandler Class

Definition

Represents the view handler for the abstract IContentView view and its platform-specific implementation.

public ref class ContentViewHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IContentView ^, System::Object ^>, Microsoft::Maui::Handlers::IContentViewHandler
public class ContentViewHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IContentView,object>, Microsoft.Maui.Handlers.IContentViewHandler
type ContentViewHandler = class
    inherit ViewHandler<IContentView, obj>
    interface IContentViewHandler
    interface IViewHandler
    interface IElementHandler
Public Class ContentViewHandler
Inherits ViewHandler(Of IContentView, Object)
Implements IContentViewHandler
Inheritance
Derived
Implements

Constructors

ContentViewHandler()
ContentViewHandler(IPropertyMapper, CommandMapper)
ContentViewHandler(IPropertyMapper)

Fields

CommandMapper
Mapper

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 (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Services (Inherited from ElementHandler)
VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Methods

ConnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Inherited from ElementHandler)
MapContent(IContentViewHandler, IContentView)

Maps the abstract Content property to the platform-specific implementations.

PlatformArrange(Rect) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Inherited from ElementHandler)
SetupContainer() (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Inherited from ViewHandler<TVirtualView,TPlatformView>)
UpdateValue(String) (Inherited from ElementHandler)

Explicit Interface Implementations

IContentViewHandler.PlatformView
IContentViewHandler.VirtualView
IElementHandler.DisconnectHandler() (Inherited from ElementHandler)
IElementHandler.PlatformView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)
IViewHandler.ContainerView (Inherited from ViewHandler)
IViewHandler.VirtualView (Inherited from ViewHandler<TVirtualView,TPlatformView>)

Extension Methods

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

Applies to