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