Value that identifies the button that was pressed to cause the event. The following are possible values: Value Meaning 1 left button 2 right button
Syntax
Visual Basic (Declaration) | |
---|
Public button As Short |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MouseDownEventArgs
Dim value As Short
value = instance.button
instance.button = value |
C++/CLI | |
---|
public:
short button |
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also