using System; using System.Text; using System.Drawing; namespace DevComponents.AdvTree.Display { /// /// Provides data for the NodeRenderer.RenderDragDropMarker event. /// public class DragDropMarkerRendererEventArgs : EventArgs { /// /// Gets or sets reference to Graphics object, canvas node is rendered on. /// public System.Drawing.Graphics Graphics = null; /// /// Gets or sets the selection bounds. /// public Rectangle Bounds = Rectangle.Empty; /// /// Initializes a new instance of the DragDropMarkerRendererEventArgs class. /// public DragDropMarkerRendererEventArgs() { } /// /// Initializes a new instance of the DragDropMarkerRendererEventArgs class. /// /// /// public DragDropMarkerRendererEventArgs(System.Drawing.Graphics graphics, Rectangle bounds) { Graphics = graphics; Bounds = bounds; } } }