MapControlDataHelper MapControlDataHelper MapControlDataHelper MapControlDataHelper Class

Definition

Provides events that indicate the user has clicked on a business location or transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

public : sealed class MapControlDataHelper : DependencyObject
struct winrt::Windows::UI::Xaml::Controls::Maps::MapControlDataHelper : DependencyObject
public sealed class MapControlDataHelper : DependencyObject
Public NotInheritable Class MapControlDataHelper Inherits DependencyObject
Inheritance
MapControlDataHelperMapControlDataHelperMapControlDataHelperMapControlDataHelper
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10586.0) Windows Mobile Extension SDK (introduced v10.0.10586.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced v2)

Remarks

Version history

Windows version SDK version Value added
1607 14393 BusinessLandmarkPointerEntered
1607 14393 BusinessLandmarkPointerExited
1607 14393 TransitFeaturePointerEntered
1607 14393 TransitFeaturePointerExited
1709 16299 CreateMapControl

Constructors

MapControlDataHelper(MapControl) MapControlDataHelper(MapControl) MapControlDataHelper(MapControl) MapControlDataHelper(MapControl)

Creates an instance of the MapControlDataHelper class for the specified MapControl.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
CreateMapControl(Boolean) CreateMapControl(Boolean) CreateMapControl(Boolean) CreateMapControl(Boolean)

Creates a MapControl in raster-mode.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

Events

BusinessLandmarkClick BusinessLandmarkClick BusinessLandmarkClick BusinessLandmarkClick

Occurs when the user taps a business location or clicks on it with the left mouse button. An instance of MapControlBusinessLandmarkClickEventArgs provides data for this event.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

BusinessLandmarkPointerEntered BusinessLandmarkPointerEntered BusinessLandmarkPointerEntered BusinessLandmarkPointerEntered

Indicates the pointer entered a business landmark.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

BusinessLandmarkPointerExited BusinessLandmarkPointerExited BusinessLandmarkPointerExited BusinessLandmarkPointerExited

Indicates the pointer exited the business landmark.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

BusinessLandmarkRightTapped BusinessLandmarkRightTapped BusinessLandmarkRightTapped BusinessLandmarkRightTapped

Occurs when the user presses-and-holds a business location or clicks on it with the right mouse button. An instance of MapControlBusinessLandmarkRightTappedEventArgs provides data for this event.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

TransitFeatureClick TransitFeatureClick TransitFeatureClick TransitFeatureClick

Occurs when the user taps a transit feature or clicks on it with the left mouse button. An instance of MapControlTransitFeatureClickEventArgs provides data for this event.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

TransitFeaturePointerEntered TransitFeaturePointerEntered TransitFeaturePointerEntered TransitFeaturePointerEntered

Indicates the pointer entered the transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

TransitFeaturePointerExited TransitFeaturePointerExited TransitFeaturePointerExited TransitFeaturePointerExited

Indicates the pointer exited the transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

TransitFeatureRightTapped TransitFeatureRightTapped TransitFeatureRightTapped TransitFeatureRightTapped

Occurs when the user presses-and-holds a transit feature or clicks on it with the right mouse button. An instance of MapControlTransitFeatureRightTappedEventArgs provides data for this event.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

Properties

Dispatcher Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)

See also