public class Component { ? public Component() { } private string id; public string Id { get { return id; } internal set { id = value; } } private string region; public string Region { get { return region; } set { var str = string.Format("Ext.getCmp('{0}').setRegion('{1}'); ", this.Id, value); RenderContext.ExecScript(str); region = value; } } private int width; public int Width { get { return width; } set { var str = string.Format("Ext.getCmp('{0}').setWidth({1}); ", this.Id, value); RenderContext.ExecScript(str); width = value; } } private int height; public int Height { get { return height; } set { var str = string.Format("Ext.getCmp('{0}').setHeight({1}); ", this.Id, value); RenderContext.ExecScript(str); height = value; } } }