using System; using System.Drawing; namespace DevComponents.AdvTree.Display { /// /// Provides data for tree background rendering events. /// public class TreeBackgroundRendererEventArgs { /// /// Gets or sets reference to Graphics object, canvas tree background is rendered on. /// public System.Drawing.Graphics Graphics=null; /// /// Gets or sets the reference to AdvTree control. /// public AdvTree AdvTree = null; /// /// Creates new instance of the class and initializes it with default values. /// /// Reference to graphics object. public TreeBackgroundRendererEventArgs(Graphics g, AdvTree tree) { this.Graphics = g; this.AdvTree = tree; } } }