AjaxControlToolkit.Design.ChartBaseDesigner.GetDesignTimeHtml C# (CSharp) Method

GetDesignTimeHtml() public method

public GetDesignTimeHtml ( System.Web.UI.Design.DesignerRegionCollection regions ) : string
regions System.Web.UI.Design.DesignerRegionCollection
return string
        public override string GetDesignTimeHtml(DesignerRegionCollection regions)
        {
            var chart = (ChartBase)Component;
            var stringBuilder = new StringBuilder(1024);
            stringBuilder.AppendFormat("<div style=\"width: {0}px; height:{1}px;border-style: solid; border-width: 1px;\">", chart.ChartWidth, chart.ChartHeight);

            return stringBuilder.ToString();
        }
ChartBaseDesigner