Merge pull request #944 from ermshiperete/bug-novell-496138
[mono.git] / mcs / class / Managed.Windows.Forms / Documentation / en / System.Windows.Forms / DrawItemEventHandler.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="DrawItemEventHandler" FullName="System.Windows.Forms.DrawItemEventHandler">
3   <TypeSignature Language="C#" Value="public delegate void DrawItemEventHandler(object sender, DrawItemEventArgs e);" />
4   <AssemblyInfo>
5     <AssemblyName>System.Windows.Forms</AssemblyName>
6     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
7     <AssemblyVersion>2.0.0.0</AssemblyVersion>
8   </AssemblyInfo>
9   <Base>
10     <BaseTypeName>System.Delegate</BaseTypeName>
11   </Base>
12   <Parameters>
13     <Parameter Name="sender" Type="System.Object" />
14     <Parameter Name="e" Type="System.Windows.Forms.DrawItemEventArgs" />
15   </Parameters>
16   <ReturnValue>
17     <ReturnType>System.Void</ReturnType>
18   </ReturnValue>
19   <Docs>
20     <param name="sender">To be added.</param>
21     <param name="e">To be added.</param>
22     <remarks>
23       <attribution license="cc4" from="Microsoft" modified="false" />
24       <para>When you create a <see cref="T:System.Windows.Forms.DrawItemEventArgs" /> 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">[&lt;topic://cpconEventsDelegates&gt;]</a></format>.</para>
25     </remarks>
26     <summary>
27       <attribution license="cc4" from="Microsoft" modified="false" />
28       <para>Represents the method that will handle the DrawItem event of a <see cref="T:System.Windows.Forms.ComboBox" />, <see cref="T:System.Windows.Forms.ListBox" />, <see cref="T:System.Windows.Forms.MenuItem" />, or <see cref="T:System.Windows.Forms.TabControl" /> control.</para>
29     </summary>
30   </Docs>
31 </Type>