using System; using System.Drawing; #if AdvTree namespace DevComponents.Tree.TextMarkup #elif DOTNETBAR namespace DevComponents.UI.ContentManager #elif SUPERGRID namespace DevComponents.SuperGrid.TextMarkup #elif LAYOUT namespace DevComponents.DotNetBar.Layout.TextMarkup #endif { /// /// Represents interface for block layout. /// public interface IContentLayout { /// /// Performs layout of the content block. /// /// Container bounds to layout content blocks in. /// Content blocks to layout. /// Block layout manager that resizes the content blocks. /// The bounds of the content blocks within the container bounds. Rectangle Layout(Rectangle containerBounds, IBlock[] contentBlocks, BlockLayoutManager blockLayout); } }