MouseEventArgs.Button Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The button number that was pressed when the mouse event was fired: Left button=0, middle button=1 (if present), right button=2. For mice configured for left handed use in which the button actions are reversed the values are instead read from right to left.
public:
property long Button { long get(); void set(long value); };
public long Button { get; set; }
member this.Button : int64 with get, set
Public Property Button As Long