BindableApplicationBar.BindableApplicationBar.OnButtonTemplateChanged C# (CSharp) Method

OnButtonTemplateChanged() protected method

Provides derived classes an opportunity to handle changes to the ButtonTemplate property.
protected OnButtonTemplateChanged ( System.Windows.DataTemplate oldButtonTemplate, System.Windows.DataTemplate newButtonTemplate ) : void
oldButtonTemplate System.Windows.DataTemplate The old button template.
newButtonTemplate System.Windows.DataTemplate The new button template.
return void
        protected virtual void OnButtonTemplateChanged(
            DataTemplate oldButtonTemplate, DataTemplate newButtonTemplate)
        {
            this.GenerateButtonsFromSource();
        }
        #endregion

Same methods

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