BindableApplicationBar.BindableApplicationBar.OnIsMenuEnabledChanged C# (CSharp) Method

OnIsMenuEnabledChanged() private static method

Handles changes to the IsMenuEnabled property.
private static OnIsMenuEnabledChanged ( 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 OnIsMenuEnabledChanged(
            DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BindableApplicationBar target = (BindableApplicationBar)d;
            bool oldIsMenuEnabled = (bool)e.OldValue;
            bool newIsMenuEnabled = target.IsMenuEnabled;
            target.OnIsMenuEnabledChanged(
                oldIsMenuEnabled, newIsMenuEnabled);
        }

Same methods

BindableApplicationBar::OnIsMenuEnabledChanged ( bool oldIsMenuEnabled, bool newIsMenuEnabled ) : void