New to Telerik UI for WinForms? Start a free 30-day trial

Combines tree node and action context with the original mouse-event data when it is available.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTreeViewMouseEventArgs : RadTreeViewEventArgs

Inheritance: objectEventArgsRadTreeViewEventArgsRadTreeViewMouseEventArgs

Inherited Members RadTreeViewEventArgs.NodeRadTreeViewEventArgs.TreeElementRadTreeViewEventArgs.TreeViewRadTreeViewEventArgs.ActionEventArgs.Empty

Constructors

Initializes event data for a node and stores the supplied mouse-event details, if any.

C#
public RadTreeViewMouseEventArgs(RadTreeNode node, MouseEventArgs originalArgs)
Parameters:nodeRadTreeNode

The node associated with the event.

originalArgsMouseEventArgs

The WinForms mouse-event details to expose through OriginalEventArgs, or null when unavailable.

Initializes event data for a node and action without the original mouse-event details.

C#
public RadTreeViewMouseEventArgs(RadTreeNode node, RadTreeViewAction action)
Parameters:nodeRadTreeNode

The node associated with the event.

actionRadTreeViewAction

The action associated with the event.

Initializes event data for a node without mouse details; the action is Unknown.

C#
public RadTreeViewMouseEventArgs(RadTreeNode node)
Parameters:nodeRadTreeNode

The node associated with the event.

Properties

Gets or sets the original WinForms mouse-event data; this is null when it was not supplied.

C#
public MouseEventArgs OriginalEventArgs { get; set; }