Class TreeViewAdvMouseClickEventArgs
Represents the data for the
Inheritance
System.Object
System.EventArgs
TreeViewAdvMouseClickEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TreeViewAdvMouseClickEventArgs : EventArgs
Constructors
TreeViewAdvMouseClickEventArgs(TreeNodeAdv, MouseButtons, Int32, Int32, Int32, Int32)
Initialize a new instance of the TreeViewAdvMouseClickEventArgs class.
Declaration
public TreeViewAdvMouseClickEventArgs(TreeNodeAdv treenode, MouseButtons button, int clicks, int X, int Y, int delta)
Parameters
Type | Name | Description |
---|---|---|
TreeNodeAdv | treenode | A TreeNodeAdv instance. |
System.Windows.Forms.MouseButtons | button | A System.Windows.Forms.MouseButtons. |
System.Int32 | clicks | Number of the Mouse click. |
System.Int32 | X | X-coordinate of the mouse point. |
System.Int32 | Y | Y-coordinate of the mouse point. |
System.Int32 | delta | The number of detent the mouse wheel has rotated. |
Properties
Clicks
Gets the number of times the mouse button was pressed and released.
Declaration
public int Clicks { get; }
Property Value
Type |
---|
System.Int32 |
Delta
Gets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel.
Declaration
public int Delta { get; }
Property Value
Type |
---|
System.Int32 |
Mousebutton
Gets or sets which mouse button was pressed.
Declaration
public MouseButtons Mousebutton { get; set; }
Property Value
Type |
---|
System.Windows.Forms.MouseButtons |
Node
Gets the node value of TreeNodeAdv.
Declaration
public TreeNodeAdv Node { get; }
Property Value
Type |
---|
TreeNodeAdv |
X
Gets the x-coordinate of the mouse during the generating mouse event.
Declaration
public int X { get; }
Property Value
Type |
---|
System.Int32 |
Y
Gets the y-coordinate of the mouse during the generating mouse event.
Declaration
public int Y { get; }
Property Value
Type |
---|
System.Int32 |