Example #1
0
 public AttachedEngineTests()
 {
     sut      = new AttachedPropertyEngine(o => ((BaseObject)o).Parent);
     property = sut.RegisterProperty("Column", typeof(Grid), typeof(int), new AttachedPropertyMetadata {
         DefaultValue = DefaultValue, Inherits = true
     });
 }
Example #2
0
 public PropertyEngine(Func <object, object> getParentFunc)
 {
     attachedEngine = new AttachedPropertyEngine(getParentFunc);
     stdEngine      = new ExtendedPropertyEngine();
 }