OnClick Method

GridViewDesigner.OnClick Method (DesignerRegionMouseEventArgs)

 

Called when a region of the design-time view of the associated control is clicked.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected override void OnClick(
	DesignerRegionMouseEventArgs e
)

Parameters

e
Type: System.Web.UI.Design.DesignerRegionMouseEventArgs

A DesignerRegionMouseEventArgs that defines the clicked region of the control.

The OnClick method saves the selected region index and updates the markup that renders the GridView control on the design surface.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft