public void UpdateChildListeners_MainGrid(global::Windows.UI.Xaml.Controls.Grid obj)
 {
     if (obj != cache_MainGrid)
     {
         if (cache_MainGrid != null)
         {
             cache_MainGrid.UnregisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Panel.BackgroundProperty, tokenDPC_MainGrid_Background);
             cache_MainGrid = null;
         }
         if (obj != null)
         {
             cache_MainGrid = obj;
             tokenDPC_MainGrid_Background = obj.RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Panel.BackgroundProperty, DependencyPropertyChanged_MainGrid_Background);
         }
     }
 }
Exemple #2
0
 public void UpdateChildListeners_GridLayout(global::Windows.UI.Xaml.Controls.Grid obj)
 {
     if (obj != cache_GridLayout)
     {
         if (cache_GridLayout != null)
         {
             cache_GridLayout.UnregisterPropertyChangedCallback(global::Windows.UI.Xaml.FrameworkElement.MarginProperty, tokenDPC_GridLayout_Margin);
             cache_GridLayout = null;
         }
         if (obj != null)
         {
             cache_GridLayout           = obj;
             tokenDPC_GridLayout_Margin = obj.RegisterPropertyChangedCallback(global::Windows.UI.Xaml.FrameworkElement.MarginProperty, DependencyPropertyChanged_GridLayout_Margin);
         }
     }
 }