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

适用于