Sdílet prostřednictvím


MapHandler Třída

Definice

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
Dědičnost
Implementuje

Konstruktory

MapHandler()
MapHandler(IPropertyMapper, CommandMapper)

Pole

CommandMapper
Mapper

Vlastnosti

ContainerView

Získá zobrazení, které funguje jako kontejner pro PlatformView.

(Zděděno od ViewHandler)
HasContainer

Získá nebo nastaví hodnotu, která označuje, zda PlatformView je obsažena v zobrazení.

(Zděděno od ViewHandler)
MauiContext (Zděděno od ElementHandler)
NeedsContainer

Získá hodnotu, která označuje, zda VirtualView potřebuje zobrazení kontejneru.

(Zděděno od ViewHandler)
PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Services (Zděděno od ElementHandler)
VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody

ConnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
CreatePlatformView()
DisconnectHandler(TPlatformView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
GetDesiredSize(Double, Double) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
Invoke(String, Object) (Zděděno od 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) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
RemoveContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetMauiContext(IMauiContext) (Zděděno od ElementHandler)
SetupContainer() (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IElement) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
SetVirtualView(IView) (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
UpdateMapElement(IMapElement)
UpdateValue(String) (Zděděno od ElementHandler)

Explicitní implementace rozhraní

IElementHandler.DisconnectHandler() (Zděděno od ElementHandler)
IElementHandler.PlatformView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IElementHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)
IMapHandler.PlatformView
IMapHandler.VirtualView
IViewHandler.ContainerView (Zděděno od ViewHandler)
IViewHandler.VirtualView (Zděděno od ViewHandler<TVirtualView,TPlatformView>)

Metody rozšíření

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

Platí pro