Visual Basic (Declaration) | |
---|---|
Public button As Short |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MouseMoveEventArgs Dim value As Short value = instance.button instance.button = value |
C# | |
---|---|
public short button |
C++/CLI | |
---|---|
public: short button |
Value that identifies any buttons that were pressed when the user moved the mouse. The following are possible values: Value Meaning 1 left button 2 right button
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7