Ejemplo n.º 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
     });
 }
Ejemplo n.º 2
0
 public AttachedProperty RegisterProperty(string name, Type owner, Type propertyType, AttachedPropertyMetadata metadata)
 {
     return(attachedEngine.RegisterProperty(name, owner, propertyType, metadata));
 }