MapPinHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Handler for IMapPin objects that manages the platform-specific implementation.
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
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| MapPinHandler() |
Initializes a new instance of the MapPinHandler class with the default mapper. |
| MapPinHandler(IPropertyMapper) |
Initializes a new instance of the MapPinHandler class with an optional custom mapper. |
Fields
| Name | Description |
|---|---|
| Mapper |
The property mapper that maps cross-platform properties to platform-specific methods. |
Properties
| Name | Description |
|---|---|
| MauiContext | (Inherited from ElementHandler) |
| PlatformView | (Inherited from ElementHandler<TVirtualView,TPlatformView>) |
| Services | (Inherited from ElementHandler) |
| VirtualView | (Inherited from ElementHandler<TVirtualView,TPlatformView>) |
Methods
| Name | Description |
|---|---|
| ConnectHandler(TPlatformView) | (Inherited from ElementHandler<TVirtualView,TPlatformView>) |
| CreatePlatformElement() | |
| DisconnectHandler(TPlatformView) | (Inherited from ElementHandler<TVirtualView,TPlatformView>) |
| Invoke(String, Object) | (Inherited from ElementHandler) |
| MapAddress(IMapPinHandler, IMapPin) | |
| MapImageSource(IMapPinHandler, IMapPin) | |
| MapLabel(IMapPinHandler, IMapPin) | |
| MapLocation(IMapPinHandler, IMapPin) | |
| SetMauiContext(IMauiContext) | (Inherited from ElementHandler) |
| SetVirtualView(IElement) | (Inherited from ElementHandler) |
| UpdateValue(String) | (Inherited from ElementHandler) |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IElementHandler.DisconnectHandler() | (Inherited from ElementHandler) |
| IElementHandler.PlatformView | (Inherited from ElementHandler<TVirtualView,TPlatformView>) |
| IElementHandler.VirtualView | (Inherited from ElementHandler<TVirtualView,TPlatformView>) |
| IMapPinHandler.PlatformView | |
| IMapPinHandler.VirtualView | |