コード例 #1
0
        private static void OnPathDataChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PathMarkerSymbol dp = d as PathMarkerSymbol;

            if (dp != null)
            {
                dp.OnPropertyChanged("PathData");
            }
        }
コード例 #2
0
        private static void OnTransformYChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PathMarkerSymbol dp = d as PathMarkerSymbol;

            if (dp != null)
            {
                dp.setOffset();
                dp.OnPropertyChanged("TransformY");
            }
        }
コード例 #3
0
        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);
            }
        }