Caliburn.Micro.BindableAppBar.BindableAppBar.BackgroundColorChanged C# (CSharp) Метод

BackgroundColorChanged() приватный статический Метод

private static BackgroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
Результат void
        private static void BackgroundColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BindableAppBar bab = (BindableAppBar)d;
            Color value = (Color)e.NewValue;

            bab.ApplicationBar.BackgroundColor = value;
            bab._selectedBackgroundColor = value;
        }