<?xml version="1.0" encoding="utf-8"?>
<Type Name="DrawToolTipEventHandler" FullName="System.Windows.Forms.DrawToolTipEventHandler">
  <TypeSignature Language="C#" Value="public delegate void DrawToolTipEventHandler(object sender, DrawToolTipEventArgs e);" />
  <AssemblyInfo>
    <AssemblyName>System.Windows.Forms</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Delegate</BaseTypeName>
  </Base>
  <Parameters>
    <Parameter Name="sender" Type="System.Object" />
    <Parameter Name="e" Type="System.Windows.Forms.DrawToolTipEventArgs" />
  </Parameters>
  <ReturnValue>
    <ReturnType>System.Void</ReturnType>
  </ReturnValue>
  <Docs>
    <param name="sender">To be added.</param>
    <param name="e">To be added.</param>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="E:System.Windows.Forms.ToolTip.Draw" /> event is raised by the <see cref="T:System.Windows.Forms.ToolTip" /> class when the <see cref="T:System.Windows.Forms.ToolTip" /> is drawn and the <see cref="P:System.Windows.Forms.ToolTip.OwnerDraw" /> property value is true. The <see cref="T:System.Windows.Forms.DrawToolTipEventArgs" /> class contains all the information needed to paint the <see cref="T:System.Windows.Forms.ToolTip" />, including the ToolTip text, the <see cref="T:System.Drawing.Rectangle" />, and the <see cref="T:System.Drawing.Graphics" /> object on which the drawing should be done. To customize the look of the ToolTip, use the <see cref="T:System.Drawing.Rectangle" /> to determine the bounds of the ToolTip, and the <see cref="T:System.Drawing.Graphics" /> object to perform your customized drawing. You can increase the bounds of the <see cref="T:System.Windows.Forms.ToolTip" /> before it is shown by handling the <see cref="E:System.Windows.Forms.ToolTip.Popup" /> event.</para>
      <para>When you create a <see cref="T:System.Windows.Forms.DrawToolTipEventHandler" /> 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>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents the method that will handle the <see cref="E:System.Windows.Forms.ToolTip.Draw" /> event of a <see cref="T:System.Windows.Forms.ToolTip" />.</para>
    </summary>
  </Docs>
</Type>