共用方式為


ShapeViewHandler 類別

定義

public ref class ShapeViewHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::IShapeView ^, System::Object ^>, Microsoft::Maui::Handlers::IShapeViewHandler
public class ShapeViewHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.IShapeView,object>, Microsoft.Maui.Handlers.IShapeViewHandler
type ShapeViewHandler = class
    inherit ViewHandler<IShapeView, obj>
    interface IShapeViewHandler
    interface IViewHandler
    interface IElementHandler
Public Class ShapeViewHandler
Inherits ViewHandler(Of IShapeView, Object)
Implements IShapeViewHandler
繼承
衍生
實作

建構函式

ShapeViewHandler()
ShapeViewHandler(IPropertyMapper, CommandMapper)
ShapeViewHandler(IPropertyMapper)

欄位

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)
MapAspect(IShapeViewHandler, IShapeView)
MapBackground(IShapeViewHandler, IShapeView)
MapFill(IShapeViewHandler, IShapeView)
MapShape(IShapeViewHandler, IShapeView)
MapStroke(IShapeViewHandler, IShapeView)
MapStrokeDashOffset(IShapeViewHandler, IShapeView)
MapStrokeDashPattern(IShapeViewHandler, IShapeView)
MapStrokeLineCap(IShapeViewHandler, IShapeView)
MapStrokeLineJoin(IShapeViewHandler, IShapeView)
MapStrokeMiterLimit(IShapeViewHandler, IShapeView)
MapStrokeThickness(IShapeViewHandler, IShapeView)
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>)
IShapeViewHandler.PlatformView
IShapeViewHandler.VirtualView
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)

適用於