using System;
using System.Text;
using System.Drawing;
using DevComponents.DotNetBar;
namespace DevComponents.AdvTree.Display
{
///
/// Provides data for RenderColumnHeader event.
///
public class ColumnHeaderRendererEventArgs : EventArgs
{
///
/// Gets the column header that is rendered.
///
public ColumnHeader ColumnHeader = null;
///
/// Target Graphics canvas.
///
public Graphics Graphics;
///
/// Gets the bounds of the column header.
///
public Rectangle Bounds;
///
/// Gets the effective style for the column.
///
public ElementStyle Style = null;
///
/// Gets the AdvTree control header is rendered for.
///
public AdvTree Tree = null;
///
/// Gets or sets the color of the column sort indicator.
///
public Color SortIndicatorColor = Color.Empty;
///
/// Initializes a new instance of the ColumnHeaderRendererEventArgs class.
///
public ColumnHeaderRendererEventArgs()
{
}
///
/// Initializes a new instance of the ColumnHeaderRendererEventArgs class.
///
///
///
///
///
public ColumnHeaderRendererEventArgs(AdvTree tree, ColumnHeader columnHeader, Graphics graphics, Rectangle bounds, ElementStyle style)
{
Tree = tree;
ColumnHeader = columnHeader;
Graphics = graphics;
Bounds = bounds;
Style = style;
}
}
}