共用方式為


MapPinHandler 類別

定義

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

建構函式

MapPinHandler()
MapPinHandler(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)
MapAddress(IMapPinHandler, IMapPin)
MapLabel(IMapPinHandler, IMapPin)
MapLocation(IMapPinHandler, IMapPin)
SetMauiContext(IMauiContext) (繼承來源 ElementHandler)
SetVirtualView(IElement) (繼承來源 ElementHandler)
UpdateValue(String) (繼承來源 ElementHandler)

明確介面實作

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

擴充方法

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

適用於