BindableApplicationBar.BindableApplicationBar.OnForegroundColorChanged C# (CSharp) Method

OnForegroundColorChanged() protected method

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

            this.foregroundColorChanged = true;
        }
        #endregion

Same methods

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