36 lines
800 B
C#

using System;
using System.Drawing;
using DevComponents.DotNetBar;
using System.Windows.Forms;
#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 a content block interface.
/// </summary>
public interface IBlock
{
/// <summary>
/// Gets or sets the bounds of the content block.
/// </summary>
Rectangle Bounds {get;set;}
/// <summary>
/// Gets or sets whether content block is visible.
/// </summary>
bool Visible {get;set;}
/// <summary>
/// Gets or sets the block margins.
/// </summary>
Padding Margin { get;set;}
}
}