BindableApplicationBar.BindableApplicationBar.OnButtonsSourceChanged C# (CSharp) Method

OnButtonsSourceChanged() private static method

Handles changes to the ButtonsSource property.
private static OnButtonsSourceChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject /// The on which /// the property has changed value. ///
e System.Windows.DependencyPropertyChangedEventArgs /// Event data that is issued by any event that /// tracks changes to the effective value of this property. ///
return void
        private static void OnButtonsSourceChanged(
            DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BindableApplicationBar target = (BindableApplicationBar)d;
            IEnumerable oldButtonsSource = (IEnumerable)e.OldValue;
            IEnumerable newButtonsSource = target.ButtonsSource;
            target.OnButtonsSourceChanged(oldButtonsSource, newButtonsSource);
        }

Same methods

BindableApplicationBar::OnButtonsSourceChanged ( IEnumerable oldButtonsSource, IEnumerable newButtonsSource ) : void