예제 #1
0
        /// <summary>
        /// CenterPointIfAvailableProperty property changed handler.
        /// </summary>
        /// <param name="d">StaticMap that changed its CenterPointIfAvailable.</param>
        /// <param name="e">Event arguments.</param>
        private static void OnCenterPointIfAvailablePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            StaticMap source = d as StaticMap;

            source.UpdateMap();
        }
예제 #2
0
        /// <summary>
        /// PointOfInterestProperty property changed handler.
        /// </summary>
        /// <param name="d">StaticMap that changed its PointOfInterest.</param>
        /// <param name="e">Event arguments.</param>
        private static void OnPointOfInterestPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            StaticMap source = d as StaticMap;

            source.UpdateMap();
        }