MouseButtonEventArgs
Class
Provides data for mouse button related events.
Definition
Namespace:Telerik.WinControls.UI.Diagrams
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public class MouseButtonEventArgs : MouseEventArgs
Inheritance: objectEventArgsMouseEventArgsMouseButtonEventArgs
Inherited Members
Constructors
Creates event data from the mouse-button values supplied by a WinForms mouse event.
C#
public MouseButtonEventArgs(MouseButtons button, int clicks, int x, int y, int delta)
The mouse button that generated the event.
clicksintThe number of times the button was clicked.
xintThe horizontal mouse coordinate.
yintThe vertical mouse coordinate.
deltaintThe mouse-wheel delta, if applicable.
Copies the button, click count, coordinates, and wheel delta from an existing WinForms mouse event.
C#
public MouseButtonEventArgs(MouseEventArgs args)
The mouse event whose values are copied.
Properties
Gets the inherited mouse-event click count.
C#
public int ClickCount { get; }