using System.Drawing; namespace DevComponents.DotNetBar.SuperGrid { /// /// Provides the rendering information for grid render pass. /// public class GridRenderInfo { #region Public properties /// /// Gets or sets the reference to Graphics object used for rendering. /// public readonly Graphics Graphics; /// /// Gets or sets the clip rectangle. /// public readonly Rectangle ClipRectangle; /// /// Gets or sets whether right-to-left layout is in effect. /// public bool RightToLeft; #endregion /// /// Initializes a new instance of the GridRenderInfo class. /// /// Graphics object /// Control clip rectangle public GridRenderInfo(Graphics graphics, Rectangle clipRectangle) { Graphics = graphics; ClipRectangle = clipRectangle; } } }