1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="DetailsViewDeleteEventHandler" FullName="System.Web.UI.WebControls.DetailsViewDeleteEventHandler">
3  <TypeSignature Language="C#" Value="public delegate void DetailsViewDeleteEventHandler(object sender, DetailsViewDeleteEventArgs e);" />
4  <AssemblyInfo>
5    <AssemblyName>System.Web</AssemblyName>
6    <AssemblyVersion>2.0.0.0</AssemblyVersion>
7  </AssemblyInfo>
8  <Base>
9    <BaseTypeName>System.Delegate</BaseTypeName>
10  </Base>
11  <Parameters>
12    <Parameter Name="sender" Type="System.Object" />
13    <Parameter Name="e" Type="System.Web.UI.WebControls.DetailsViewDeleteEventArgs" />
14  </Parameters>
15  <ReturnValue>
16    <ReturnType>System.Void</ReturnType>
17  </ReturnValue>
18  <Docs>
19    <param name="sender">To be added.</param>
20    <param name="e">To be added.</param>
21    <since version=".NET 2.0" />
22    <remarks>
23      <attribution license="cc4" from="Microsoft" modified="false" />
24      <para>The <see cref="T:System.Web.UI.WebControls.DetailsView" /> control raises the <see cref="E:System.Web.UI.WebControls.DetailsView.ItemDeleting" /> event when a Delete button (a button with its CommandName property set to "Delete") within the control is clicked, but after the <see cref="T:System.Web.UI.WebControls.DetailsView" /> control deletes the record. This allows you to provide an event handler that performs a custom routine, such as checking the results of a delete operation, whenever this event occurs.</para>
25      <para>When you create a <see cref="T:System.Web.UI.WebControls.DetailsViewDeleteEventHandler" /> delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see <format type="text/html"><a href="d98fd58b-fa4f-4598-8378-addf4355a115">Events and Delegates</a></format>.</para>
26    </remarks>
27    <summary>
28      <attribution license="cc4" from="Microsoft" modified="false" />
29      <para>Represents the method that handles the <see cref="E:System.Web.UI.WebControls.DetailsView.ItemDeleting" /> event of a <see cref="T:System.Web.UI.WebControls.DetailsView" /> control.</para>
30    </summary>
31  </Docs>
32</Type>