Toolkit.Icons.WorldGlobe.OnLandFillPropertyChanged C# (CSharp) Method

OnLandFillPropertyChanged() private static method

private static OnLandFillPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void
        private static void OnLandFillPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WorldGlobe globe = d as WorldGlobe;
            Brush brush = e.NewValue as Brush;
            globe.landFill = brush;
            if (globe.LandPath != null)
                globe.LandPath.Fill = brush;
        }