public object createElement(string tagName) { if (tagName == "canvas") { if (this.canvas == null) { this.canvas = new HTMLCanvasElementWrapper(new HTMLCanvasElement(this.ownerDocument.defaultView)); } return this.canvas; } throw new NotSupportedException(); }
public object createElement(string tagName) { if (tagName == "canvas") { if (this.canvas == null) { this.canvas = new HTMLCanvasElementWrapper(new HTMLCanvasElement(this.ownerDocument.defaultView)); } return(this.canvas); } throw new NotSupportedException(); }