示例#1
0
 public static void SetLeftMouseUpCommand(FrameworkElement target, ICommand value)
 {
     DependencyProperties.SetValue(target, Properties.LeftMouseUpCommand, value);
 }
        public void OnSetValue(LocationInterceptionArgs args)
        {
            DependencyPropertyFactory <T> factory = WpfControlAspect <T> .PropertyFactories[_instance.GetType()];

            factory.SetValue(args.Instance as DependencyObject, _property, args.Value);
        }
 public static void SetObservers(DependencyObject target, List <PropertyObserver> value)
 {
     DependencyProperties.SetValue(target, Properties.Observers, value);
 }