Esempio n. 1
0
 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);
 }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 protected override Size MeasureOverride(Size availableSize)
 {
     PanelInternal.Measure(availableSize);
     return(PanelInternal.DesiredSize);
 }