RendererToHandlerShim 类

定义

注意

现已弃用此 API。

public ref class RendererToHandlerShim : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IView ^, System::Object ^>
[System.Obsolete]
public class RendererToHandlerShim : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IView,object>
[<System.Obsolete>]
type RendererToHandlerShim = class
    inherit ViewHandler<IView, obj>
Public Class RendererToHandlerShim
Inherits ViewHandler(Of IView, Object)
继承
属性

构造函数

RendererToHandlerShim()

字段

ShimMapper

属性

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>)
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>)
IViewHandler.ContainerView
已过时.
(继承自 ViewHandler)
IViewHandler.VirtualView
已过时.
(继承自 ViewHandler<TVirtualView,TPlatformView>)

扩展方法

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

适用于