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, Type)
GetRequiredService<T>(IElementHandler)
GetService<T>(IElementHandler, Type)
GetService<T>(IElementHandler)
GetServiceProvider(IElementHandler)
IsConnected(IElementHandler)

适用于