using System;
using System.Drawing;
using DevComponents.DotNetBar;
namespace DevComponents.AdvTree.Display
{
///
/// Represents helper class for node connector display.
///
public class ConnectorRendererEventArgs:EventArgs
{
///
/// From node reference.
///
public Node FromNode=null;
///
/// From node style reference.
///
public ElementStyle StyleFromNode=null;
///
/// To node reference.
///
public Node ToNode=null;
///
/// To node style reference.
///
public ElementStyle StyleToNode=null;
///
/// Graphics object used for drawing.
///
public System.Drawing.Graphics Graphics=null;
///
/// Node offset since some node coordinates are relative.
///
public Point Offset=Point.Empty;
///
/// Indicates whether from node is a root node.
///
public bool IsRootNode=false;
///
/// Reference to node connector object that describes connector type.
///
public NodeConnector NodeConnector=null;
///
/// Gets or sets whether connector is link connector.
///
public bool LinkConnector=false;
///
/// Reference to the collection of the connector path points. Default value is null indicating there are no path points.
///
public ConnectorPointsCollection ConnectorPoints=null;
}
}