BindableApplicationBar.BindableApplicationBar.OnBackgroundColorChanged C# (CSharp) Method

OnBackgroundColorChanged() protected method

Provides derived classes an opportunity to handle changes to the BackgroundColor property.
protected OnBackgroundColorChanged ( Color oldBackgroundColor, Color newBackgroundColor ) : void
oldBackgroundColor Color /// The old BackgroundColor value. ///
newBackgroundColor Color /// The new BackgroundColor value. ///
return void
        protected virtual void OnBackgroundColorChanged(
            Color oldBackgroundColor, Color newBackgroundColor)
        {
            if (this.applicationBar != null)
            {
                this.applicationBar.BackgroundColor = this.BackgroundColor;
            }

            this.backgroundColorChanged = true;
        }
        #endregion

Same methods

BindableApplicationBar::OnBackgroundColorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void