Exemplo n.º 1
0
        private static void OnColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MarkerSymbol dp = d as MarkerSymbol;

            if (dp != null)
            {
                dp.OnPropertyChanged("Color");
            }
        }
Exemplo n.º 2
0
        private static void OnSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MarkerSymbol symbol = d
                                  as MarkerSymbol;

            if (d == null)
            {
                return;
            }

            symbol.setOffset();

            symbol.OnPropertyChanged("Size");
        }