BindableApplicationBar.BindableApplicationBar.OnMenuItemsSourceChanged C# (CSharp) Method

OnMenuItemsSourceChanged() private static method

Handles changes to the MenuItemsSource property.
private static OnMenuItemsSourceChanged ( 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 OnMenuItemsSourceChanged(
            DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BindableApplicationBar target = (BindableApplicationBar)d;
            IEnumerable oldMenuItemsSource = (IEnumerable)e.OldValue;
            IEnumerable newMenuItemsSource = target.MenuItemsSource;
            target.OnMenuItemsSourceChanged(
                oldMenuItemsSource, newMenuItemsSource);
        }

Same methods

BindableApplicationBar::OnMenuItemsSourceChanged ( IEnumerable oldMenuItemsSource, IEnumerable newMenuItemsSource ) : void