DetailsViewDesigner.OnClick Method (DesignerRegionMouseEventArgs)


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

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

protected override void OnClick(
	DesignerRegionMouseEventArgs 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 DetailsView control on the design surface.

.NET Framework
Available since 2.0
Return to top