Spread Windows Forms 10.0 Product Documentation
OnClick Method (ElementControl)


Event arguments
Raises the Click event when the user clicks with the cursor over the control.
Syntax
'Declaration
 
Protected Overrides Sub OnClick( _
   ByVal e As EventArgs _
) 
'Usage
 
Dim instance As ElementControl
Dim e As EventArgs
 
instance.OnClick(e)
protected override void OnClick( 
   EventArgs e
)

Parameters

e
Event arguments
Remarks

This method provides event arguments for the System.Forms.Control.Click event, which occurs when the user clicks the mouse button.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementControl Class
ElementControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.