26 lines
791 B
C#
26 lines
791 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
#if TREEGX
|
|
namespace DevComponents.Tree.TextMarkup
|
|
#elif DOTNETBAR
|
|
namespace DevComponents.UI.ContentManager
|
|
#endif
|
|
|
|
{
|
|
/// <summary>
|
|
/// Represents interface for block layout.
|
|
/// </summary>
|
|
public interface IContentLayout
|
|
{
|
|
/// <summary>
|
|
/// Performs layout of the content block.
|
|
/// </summary>
|
|
/// <param name="containerBounds">Container bounds to layout content blocks in.</param>
|
|
/// <param name="contentBlocks">Content blocks to layout.</param>
|
|
/// <param name="blockLayout">Block layout manager that resizes the content blocks.</param>
|
|
/// <returns>The bounds of the content blocks within the container bounds.</returns>
|
|
Rectangle Layout(Rectangle containerBounds, IBlock[] contentBlocks, BlockLayoutManager blockLayout);
|
|
}
|
|
}
|