BindableApplicationBar.BindableApplicationBarButton.OnIconUriChanged C# (CSharp) Method

OnIconUriChanged() private static method

Handles changes to the IconUri property.
private static OnIconUriChanged ( 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 OnIconUriChanged(
            DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var target = (BindableApplicationBarButton)d;
            Uri oldIconUri = (Uri)e.OldValue;
            Uri newIconUri = target.IconUri;
            target.OnIconUriChanged(oldIconUri, newIconUri);
        }

Same methods

BindableApplicationBarButton::OnIconUriChanged ( Uri oldIconUri, Uri newIconUri ) : void