[jit] Enable partial generic sharing when not using AOT as an experiment.
[mono.git] / mcs / class / Managed.Windows.Forms / Documentation / en / System.Windows.Forms / HtmlElementEventHandler.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="HtmlElementEventHandler" FullName="System.Windows.Forms.HtmlElementEventHandler">
3   <TypeSignature Language="C#" Value="public delegate void HtmlElementEventHandler(object sender, HtmlElementEventArgs e);" />
4   <AssemblyInfo>
5     <AssemblyName>System.Windows.Forms</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.Windows.Forms.HtmlElementEventArgs" />
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     <remarks>
22       <attribution license="cc4" from="Microsoft" modified="false" />
23       <para>When you create a <see cref="T:System.Windows.Forms.HtmlElementEventHandler" /> 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>
24       <para>You must wait until an HTML document has finished loading in order to attach an event handler to the document. If you attempt to attach a handler before loading has completed, the attach operation may fail. The best place to attach event handlers in a new document is in the <see cref="E:System.Windows.Forms.WebBrowser.DocumentCompleted" /> event handler for the <see cref="T:System.Windows.Forms.WebBrowser" /> control. </para>
25     </remarks>
26     <summary>
27       <attribution license="cc4" from="Microsoft" modified="false" />
28       <para>Represents the method that will handle the Click, MouseDown and related events on <see cref="T:System.Windows.Forms.HtmlDocument" />, <see cref="T:System.Windows.Forms.HtmlElement" />, and <see cref="T:System.Windows.Forms.HtmlWindow" />.</para>
29     </summary>
30   </Docs>
31 </Type>