BindableApplicationBar.BindableApplicationBarButton.OnTextChanged C# (CSharp) Method

OnTextChanged() private static method

Handles changes to the Text property.
private static OnTextChanged ( 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 OnTextChanged(
            DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            var target = (BindableApplicationBarButton)d;
            string oldText = (string)e.OldValue;
            string newText = target.Text;
            target.OnTextChanged(oldText, newText);
        }

Same methods

BindableApplicationBarButton::OnTextChanged ( string oldText, string newText ) : void