LayoutFarm.Demo.HtmlPanel.PerformHtmlLayout C# (CSharp) Method

PerformHtmlLayout() private method

Perform html container layout by the current panel client size.
private PerformHtmlLayout ( ) : void
return void
        void PerformHtmlLayout()
        {
            if (htmlContainer != null)
            {
                //htmlContainer.MaxSize = new PixelFarm.Drawing.SizeF(ClientSize.Width, 0);
                htmlContainer.SetMaxSize(ClientSize.Width, 0);
                htmlContainer.PerformLayout(this.htmlLayoutVisitor);
                var asize = htmlContainer.ActualSize;
                AutoScrollMinSize = Size.Round(new SizeF(asize.Width, asize.Height));
            }
        }
        int count01;