Ejemplo n.º 1
0
 /// <summary>
 /// Constructor for MTElementContainer.
 /// </summary>
 /// <param name="createFrom">The FrameworkElement this container is going to store touches for and manipulate.</param>
 public MTContainer(FrameworkElement createFrom, Panel topCont, ElementProperties props)
 {
     if (createFrom == null)
     {
         throw new ArgumentNullException("createFrom must not be null");
     }
     WorkingObject     = createFrom;
     handler           = ElementHandler.GetHandler(this.WorkingObject, this.TopContainer);
     ElementDef        = props;
     this.TopContainer = topCont;
 }