Exemple #1
0
 public void UpdateChildListeners_MySlider(global::Windows.UI.Xaml.Controls.Slider obj)
 {
     if (obj != cache_MySlider)
     {
         if (cache_MySlider != null)
         {
             cache_MySlider.UnregisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty, tokenDPC_MySlider_Value);
             cache_MySlider = null;
         }
         if (obj != null)
         {
             cache_MySlider          = obj;
             tokenDPC_MySlider_Value = obj.RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Primitives.RangeBase.ValueProperty, DependencyPropertyChanged_MySlider_Value);
         }
     }
 }
Exemple #2
0
 public void UpdateChildListeners_slid(global::Windows.UI.Xaml.Controls.Slider obj)
 {
     if (obj != cache_slid)
     {
         if (cache_slid != null)
         {
             cache_slid.UnregisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Slider.ValueProperty, tokenDPC_slid_Value);
             cache_slid = null;
         }
         if (obj != null)
         {
             cache_slid          = obj;
             tokenDPC_slid_Value = obj.RegisterPropertyChangedCallback(global::Windows.UI.Xaml.Controls.Slider.ValueProperty, DependencyPropertyChanged_slid_Value);
         }
     }
 }