Beispiel #1
0
        static void BindingsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FrameworkElement       target   = (FrameworkElement)d;
            BindingsInfoCollection bindings = (BindingsInfoCollection)e.NewValue;

            bindings.TopElement = target;
        }
Beispiel #2
0
 public static void SetBindings(FrameworkElement target, BindingsInfoCollection bindings)
 {
     target.SetValue(BindingsProperty, bindings);
 }