Exemplo n.º 1
0
 protected internal void AttachToTargetObject(DependencyObject obj)
 {
     if (obj == null)
     {
         return;
     }
     // obj may be of arbitrary type; The type isn't fixed to DependencyObject
     _contextObject = obj;
     _contextObject.AddToBindingCollection(this);
 }
Exemplo n.º 2
0
 protected internal void AttachToTargetObject(DependencyObject obj)
 {
   if (obj == null)
     return;
   // obj may be of arbitrary type; The type isn't fixed to DependencyObject
   _contextObject = obj;
   _contextObject.AddToBindingCollection(this);
 }