SuperMap.WinRT.Core.Pushpin.OnLocationChangedCallback C# (CSharp) Method

OnLocationChangedCallback() private static method

private static OnLocationChangedCallback ( DependencyObject d, DependencyPropertyChangedEventArgs eventArgs ) : void
d DependencyObject
eventArgs DependencyPropertyChangedEventArgs
return void
        private static void OnLocationChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs eventArgs)
        {
            Rectangle2D bounds = new Rectangle2D((Point2D)eventArgs.NewValue, (Point2D)eventArgs.NewValue);
            ElementsLayer.SetBBox(d, bounds);
        }
        /// <summary>${mapping_Pushpin_attribute_Location_D}</summary>