public AttachedEngineTests() { sut = new AttachedPropertyEngine(o => ((BaseObject)o).Parent); property = sut.RegisterProperty("Column", typeof(Grid), typeof(int), new AttachedPropertyMetadata { DefaultValue = DefaultValue, Inherits = true }); }
public AttachedProperty RegisterProperty(string name, Type owner, Type propertyType, AttachedPropertyMetadata metadata) { return(attachedEngine.RegisterProperty(name, owner, propertyType, metadata)); }