MapLayer.OnPositionChanged Method (DependencyObject, DependencyPropertyChangedEventArgs)
Enables the ability to provide custom handling when the Position of the layer changes.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static void OnPositionChanged(
DependencyObject dependencyObject,
DependencyPropertyChangedEventArgs ea
)
public:
static void OnPositionChanged(
DependencyObject^ dependencyObject,
DependencyPropertyChangedEventArgs ea
)
static member OnPositionChanged :
dependencyObject:DependencyObject *
ea:DependencyPropertyChangedEventArgs -> unit
Public Shared Sub OnPositionChanged (
dependencyObject As DependencyObject,
ea As DependencyPropertyChangedEventArgs
)
Parameters
dependencyObject
Type: System.Windows.DependencyObjectThe dependency field.
ea
Type: System.Windows.DependencyPropertyChangedEventArgsThe event arguments.
See Also
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top