30 lines
		
	
	
		
			918 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			918 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 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
 | |
| 
 | |
| {
 | |
| 	/// <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);
 | |
| 	}
 | |
| }
 |