Ejemplo n.º 1
0
        private void OnStyleBindingsPropertyChanged(DependencyPropertyChangedEventArgs e)
        {
            PushBindingCollection pushBindingCollection = GetBindings(this);

            foreach (PushBinding pushBinding in (PushBindingCollection)e.NewValue)
            {
                pushBindingCollection.Add((PushBinding)pushBinding.Clone());
            }
        }
Ejemplo n.º 2
0
 public static void SetStyleBindings(DependencyObject obj, PushBindingCollection value)
 {
     obj.SetValue(StyleBindingsProperty, value);
 }