Поделиться через


MapHandler Класс

Определение

public ref class MapHandler : Microsoft::Maui::Handlers::ViewHandler<Microsoft::Maui::Maps::IMap ^, System::Object ^>, Microsoft::Maui::Maps::Handlers::IMapHandler
public class MapHandler : Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.Maps.IMap,object>, Microsoft.Maui.Maps.Handlers.IMapHandler
type MapHandler = class
    inherit ViewHandler<IMap, obj>
    interface IMapHandler
    interface IViewHandler
    interface IElementHandler
Public Class MapHandler
Inherits ViewHandler(Of IMap, Object)
Implements IMapHandler
Наследование
Реализации

Конструкторы

MapHandler()
MapHandler(IPropertyMapper, CommandMapper)

Поля

CommandMapper
Mapper

Свойства

ContainerView

Возвращает представление, которое выступает в качестве контейнера для PlatformView.

(Унаследовано от ViewHandler)
HasContainer

Возвращает или задает значение, указывающее, содержится ли PlatformView объект в представлении.

(Унаследовано от ViewHandler)
MauiContext (Унаследовано от ElementHandler)
NeedsContainer

Возвращает значение, указывающее, требуется ли представлению VirtualView контейнера.

(Унаследовано от ViewHandler)
PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Services (Унаследовано от ElementHandler)
VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы

ConnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Унаследовано от ElementHandler)
MapElements(IMapHandler, IMap)
MapIsScrollEnabled(IMapHandler, IMap)
MapIsShowingUser(IMapHandler, IMap)
MapIsTrafficEnabled(IMapHandler, IMap)
MapIsZoomEnabled(IMapHandler, IMap)
MapMapType(IMapHandler, IMap)
MapMoveToRegion(IMapHandler, IMap, Object)
MapPins(IMapHandler, IMap)
MapUpdateMapElement(IMapHandler, IMap, Object)
PlatformArrange(Rect) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Унаследовано от ElementHandler)
SetupContainer() (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
UpdateMapElement(IMapElement)
UpdateValue(String) (Унаследовано от ElementHandler)

Явные реализации интерфейса

IElementHandler.DisconnectHandler() (Унаследовано от ElementHandler)
IElementHandler.PlatformView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)
IMapHandler.PlatformView
IMapHandler.VirtualView
IViewHandler.ContainerView (Унаследовано от ViewHandler)
IViewHandler.VirtualView (Унаследовано от ViewHandler<TVirtualView,TPlatformView>)

Методы расширения

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

Применяется к