Exemple #1
0
 public ReflectionTypeProperty(IPropertyPathParser pathParser, PropertyInfo property, EventInfo evt)
     : base(pathParser, property)
 {
     if (evt != null && evt.EventHandlerType == typeof(EventHandler))
     {
         _event = evt;
     }
     _onValueChanged = new EventHandler(OnValueChanged);
 }
 public BindingExpression(
     IPropertyPathParser pathParser,
     DependencyObject target,
     DependencyProperty dp,
     Binding binding)
     : base(target, dp)
 {
     this.pathParser    = pathParser;
     this.ParentBinding = binding;
 }
 public BindingExpression(
             IPropertyPathParser pathParser,
             DependencyObject target,
             DependencyProperty dp,
             Binding binding)
             : base(target, dp)
 {
     this.pathParser = pathParser;
     this.ParentBinding = binding;
 }
Exemple #4
0
 public NotifyPropertyChangedTypeProperty(IPropertyPathParser pathParser, PropertyInfo property)
     : base(pathParser, property)
 {
 }
 protected TypeProperty(IPropertyPathParser pathParser, PropertyInfo property)
 {
     _propertyInfo = property;
     _pathParser   = pathParser;
 }
Exemple #6
0
 public DictionaryEntryProperty(string key, IPropertyPathParser pathParser)
 {
     _propertyPath = pathParser.Parse(key);
     _key          = key;
 }