private static void OnPathDataChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PathMarkerSymbol dp = d as PathMarkerSymbol;

            if (dp != null)
            {
                dp.OnPropertyChanged("PathData");
            }
        }
        private static void OnTransformYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PathMarkerSymbol dp = d as PathMarkerSymbol;

            if (dp != null)
            {
                dp.setOffset();
                dp.OnPropertyChanged("TransformY");
            }
        }
        private static void OnScaleYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PathMarkerSymbol dp = d as PathMarkerSymbol;

            if (dp != null)
            {
                SymbolExtensions.SetSymbolScaleY(dp, dp.Size * dp.ScaleY);
                dp.setOffset();
                dp.OnPropertyChanged(null);
            }
        }
 void PathMarkerSymbol_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "Size")
     {
         PathMarkerSymbol dp = sender as PathMarkerSymbol;
         if (dp != null)
         {
             SymbolExtensions.SetSymbolScaleY(this, dp.Size * dp.ScaleY);
             SymbolExtensions.SetSymbolScaleX(this, dp.Size * dp.ScaleX);
             OnPropertyChanged(null);
         }
     }
 }