protected override Size ArrangeOverride(Size finalSize) { PanelInternal.Arrange(new Rect(finalSize)); foreach (ProxyUIElement child in PanelInternal.Children) { Point point = child.TranslatePoint(new Point(), PanelInternal); child.Element.Arrange(new Rect(point, child.RenderSize)); } return(PanelInternal.RenderSize); }
public override void RenderControl(System.Web.UI.HtmlTextWriter writer) { PanelInternal pi = new PanelInternal(); pi.ControlID = "HTMLControlPropertyConfiguration"; TextArea textArea = new TextArea(); textArea.Width = 590; textArea.Rows = 33; pi.Controls.Add(textArea); pi.RenderControl(writer); }
protected override Size MeasureOverride(Size availableSize) { PanelInternal.Measure(availableSize); return(PanelInternal.DesiredSize); }