MapHandler Constructors
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.
Overloads
| Name | Description |
|---|---|
| MapHandler() |
Initializes a new instance of the MapHandler class with default mappers. |
| MapHandler(IPropertyMapper, CommandMapper) |
Initializes a new instance of the MapHandler class with optional custom mappers. |
MapHandler()
- Source:
- MapHandler.cs
- Source:
- MapHandler.cs
- Source:
- MapHandler.cs
- Source:
- MapHandler.cs
Initializes a new instance of the MapHandler class with default mappers.
public:
MapHandler();
public MapHandler();
Public Sub New ()
Applies to
MapHandler(IPropertyMapper, CommandMapper)
- Source:
- MapHandler.cs
- Source:
- MapHandler.cs
- Source:
- MapHandler.cs
- Source:
- MapHandler.cs
Initializes a new instance of the MapHandler class with optional custom mappers.
public MapHandler(Microsoft.Maui.IPropertyMapper? mapper = default, Microsoft.Maui.CommandMapper? commandMapper = default);
new Microsoft.Maui.Maps.Handlers.MapHandler : Microsoft.Maui.IPropertyMapper * Microsoft.Maui.CommandMapper -> Microsoft.Maui.Maps.Handlers.MapHandler
Public Sub New (Optional mapper As IPropertyMapper = Nothing, Optional commandMapper As CommandMapper = Nothing)
Parameters
- mapper
- IPropertyMapper
The property mapper to use, or null to use the default.
- commandMapper
- CommandMapper
The command mapper to use, or null to use the default.