public BaseLayout CreateLayout(int width, int height)
        {
            var xnaLayout = new WebLayout(this, width, height);

            WebLayouts.Add(xnaLayout);
            Element.AppendChild(xnaLayout.Element);
            return(xnaLayout);
        }
 public WebUIManager(WebLayout webLayout)
 {
     Layout    = webLayout;
     TextBoxes = new List <IUITextBox>();
 }