External/Aga.Controls/Tree/TreeNodeAdvMouseEventArgs.cs
author StephaneLenclud
Tue, 03 Feb 2015 10:14:18 +0100
branchMiniDisplay
changeset 450 f2d8620e2434
permissions -rw-r--r--
Rebracer update.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Windows.Forms;
     5 using System.Drawing;
     6 using Aga.Controls.Tree.NodeControls;
     7 
     8 namespace Aga.Controls.Tree
     9 {
    10 	public class TreeNodeAdvMouseEventArgs : MouseEventArgs
    11 	{
    12 		private TreeNodeAdv _node;
    13 		public TreeNodeAdv Node
    14 		{
    15 			get { return _node; }
    16 			internal set { _node = value; }
    17 		}
    18 
    19 		private NodeControl _control;
    20 		public NodeControl Control
    21 		{
    22 			get { return _control; }
    23 			internal set { _control = value; }
    24 		}
    25 
    26 		private Point _viewLocation;
    27 		public Point ViewLocation
    28 		{
    29 			get { return _viewLocation; }
    30 			internal set { _viewLocation = value; }
    31 		}
    32 
    33 		private Keys _modifierKeys;
    34 		public Keys ModifierKeys
    35 		{
    36 			get { return _modifierKeys; }
    37 			internal set { _modifierKeys = value; }
    38 		}
    39 
    40 		private bool _handled;
    41 		public bool Handled
    42 		{
    43 			get { return _handled; }
    44 			set { _handled = value; }
    45 		}
    46 
    47 		private Rectangle _controlBounds;
    48 		public Rectangle ControlBounds
    49 		{
    50 			get { return _controlBounds; }
    51 			internal set { _controlBounds = value; }
    52 		}
    53 
    54 		public TreeNodeAdvMouseEventArgs(MouseEventArgs args)
    55 			: base(args.Button, args.Clicks, args.X, args.Y, args.Delta)
    56 		{
    57 		}
    58 	}
    59 }