Beispiel #1
0
        private void OnStyleBindingsPropertyChanged(DependencyPropertyChangedEventArgs e)
        {
            PushBindingCollection pushBindingCollection = GetBindings(this);

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