using System; using System.Drawing; namespace DevComponents.Tree { /// /// Data form RenderSelection event. /// public class SelectionRendererEventArgs : EventArgs { /// /// Gets or sets reference to Graphics object, canvas node is rendered on. /// public System.Drawing.Graphics Graphics=null; /// /// Gets or sets the reference to selected Node object. /// public DevComponents.Tree.Node Node=null; /// /// Gets or sets the selection bounds. /// public Rectangle Bounds=Rectangle.Empty; /// /// Gets or sets border color of the selection rectangle. /// public Color BorderColor=Color.Empty; /// /// Gets or sets fill color of the selection rectangle. /// public Color FillColor=Color.Empty; /// /// Gets or sets the width in pixels of the border of the selection rectangle. /// public int Width=4; } }