ZForge.Controls.TreeViewAdv.Tree.ReorderColumnState.ReorderColumnState C# (CSharp) Method

ReorderColumnState() public method

public ReorderColumnState ( TreeViewAdv tree, TreeColumn column, Point initialMouseLocation ) : System
tree TreeViewAdv
column TreeColumn
initialMouseLocation Point
return System
        public ReorderColumnState(TreeViewAdv tree, TreeColumn column, Point initialMouseLocation)
            : base(tree, column)
        {
            _location = new Point(initialMouseLocation.X + Tree.OffsetX, 0);
            _dragOffset = tree.GetColumnX(column) - initialMouseLocation.X;
            _ghostImage = column.CreateGhostImage(new Rectangle(0, 0, column.Width, tree.ColumnHeaderHeight), tree.Font);
        }