共用方式為


MapElementHandler 類別

定義

public ref class MapElementHandler : Microsoft::Maui::Handlers::ElementHandler<Microsoft::Maui::Maps::IMapElement ^, System::Object ^>, Microsoft::Maui::Maps::Handlers::IMapElementHandler
public class MapElementHandler : Microsoft.Maui.Handlers.ElementHandler<Microsoft.Maui.Maps.IMapElement,object>, Microsoft.Maui.Maps.Handlers.IMapElementHandler
type MapElementHandler = class
    inherit ElementHandler<IMapElement, obj>
    interface IMapElementHandler
    interface IElementHandler
Public Class MapElementHandler
Inherits ElementHandler(Of IMapElement, Object)
Implements IMapElementHandler
繼承
實作

建構函式

MapElementHandler()
MapElementHandler(IPropertyMapper)

欄位

Mapper

屬性

MauiContext (繼承來源 ElementHandler)
PlatformView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
Services (繼承來源 ElementHandler)
VirtualView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)

方法

ConnectHandler(TPlatformView) (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
CreatePlatformElement()
DisconnectHandler(TPlatformView) (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (繼承來源 ElementHandler)
MapFill(IMapElementHandler, IMapElement)
MapStroke(IMapElementHandler, IMapElement)
MapStrokeThickness(IMapElementHandler, IMapElement)
SetMauiContext(IMauiContext) (繼承來源 ElementHandler)
SetVirtualView(IElement) (繼承來源 ElementHandler)
UpdateValue(String) (繼承來源 ElementHandler)

明確介面實作

IElementHandler.DisconnectHandler() (繼承來源 ElementHandler)
IElementHandler.PlatformView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (繼承來源 ElementHandler<TVirtualView,TPlatformView>)
IMapElementHandler.PlatformView
IMapElementHandler.VirtualView

擴充方法

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

適用於