BindableApplicationBar.BindableApplicationBarButton.OnCommandParameterChanged C# (CSharp) Method

OnCommandParameterChanged() private static method

Handles changes to the CommandParameter property.
private static OnCommandParameterChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
d DependencyObject /// The on which /// the property has changed value. ///
e DependencyPropertyChangedEventArgs /// Event data that is issued by any event that /// tracks changes to the effective value of this property. ///
return void
        private static void OnCommandParameterChanged(
            DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var target = (BindableApplicationBarButton)d;
            object oldCommandParameter = e.OldValue;
            object newCommandParameter = target.CommandParameter;
            target.OnCommandParameterChanged(
                oldCommandParameter, newCommandParameter);
        }

Same methods

BindableApplicationBarButton::OnCommandParameterChanged ( object oldCommandParameter, object newCommandParameter ) : void