|
49 | 49 | The <xref:System.Windows.Forms.ToolTip> class can be used in any container. To explicitly specify a container, use the <xref:System.Windows.Forms.ToolTip.%23ctor%28System.ComponentModel.IContainer%29> constructor. A single <xref:System.Windows.Forms.ToolTip> component typically is used to create ToolTips for multiple controls on a single form. After you create a <xref:System.Windows.Forms.ToolTip>, use a separate call to the <xref:System.Windows.Forms.ToolTip.SetToolTip%2A> method to associate ToolTip display text to an individual control. Then when the user moves the pointer on a control, the ToolTip with its text is displayed. You can call <xref:System.Windows.Forms.ToolTip.SetToolTip%2A> more than once for the same control to change the text that is associated with the control. To get the text that is associated with a control, use the <xref:System.Windows.Forms.ToolTip.GetToolTip%2A> method. To remove all ToolTip text associations with an instance of the <xref:System.Windows.Forms.ToolTip> class, use the <xref:System.Windows.Forms.ToolTip.RemoveAll%2A> method.
|
50 | 50 |
|
51 | 51 | > [!NOTE]
|
52 |
| -> ToolTip text is not displayed for controls that are disabled. Unless the <xref:System.Windows.Forms.ToolTip.ShowAlways%2A> property is set to `true`, ToolTips are not displayed when their container is inactive. |
| 52 | +> ToolTip text is not displayed for controls that are disabled. Unless the <xref:System.Windows.Forms.ToolTip.ShowAlways%2A> property is set to `true`, ToolTips are not displayed when their container is inactive. |
53 | 53 |
|
54 | 54 | The <xref:System.Windows.Forms.ToolTip> class provides the following properties and methods to modify the default behavior and appearance of a ToolTip.
|
55 | 55 |
|
|
425 | 425 | <format type="text/markdown"><, [CreateWindowEx](/windows/win32/api/winuser/nf-winuser-createwindowexa), and [CREATESTRUCT](/windows/win32/api/winuser/ns-winuser-createstructa). |
429 | 429 |
|
430 | 430 | > [!NOTE]
|
431 |
| -> When overriding the <xref:System.Windows.Forms.ToolTip.CreateParams%2A> property in a derived class, use the base class's <xref:System.Windows.Forms.ToolTip.CreateParams%2A> property to extend the base implementation. |
| 431 | +> When overriding the <xref:System.Windows.Forms.ToolTip.CreateParams%2A> property in a derived class, use the base class's <xref:System.Windows.Forms.ToolTip.CreateParams%2A> property to extend the base implementation. |
432 | 432 |
|
433 | 433 | ]]></format>
|
434 | 434 | </remarks>
|
|
542 | 542 |
|
543 | 543 | ]]></format>
|
544 | 544 | </remarks>
|
545 |
| - <altmember cref="Overload:System.Windows.Forms.ToolTip.Dispose" /> |
| 545 | + <altmember cref="M:System.Windows.Forms.ToolTip.Dispose(System.Boolean)" /> |
546 | 546 | <altmember cref="M:System.Object.Finalize" />
|
547 | 547 | <altmember cref="M:System.GC.SuppressFinalize(System.Object)" />
|
548 | 548 | </Docs>
|
|
1453 | 1453 | <format type="text/markdown"><![CDATA[
|
1454 | 1454 |
|
1455 | 1455 | ## Remarks
|
1456 |
| - The <xref:System.Windows.Forms.ToolTip> class has an internal timer that it uses to set the display duration for ToolTips. The duration associated with this timer is set through the <xref:System.Windows.Forms.ToolTip.AutoPopDelay%2A> property. The <xref:System.Windows.Forms.ToolTip.StopTimer%2A> method will stop this internal timer, causing any displayed ToolTip to be shown modally until the <xref:System.Windows.Forms.ToolTip.Hide%2A> method is called, or the parent form is minimized, hidden, or closed. |
| 1456 | + The <xref:System.Windows.Forms.ToolTip> class has an internal timer that it uses to set the display duration for ToolTips. Set the duration of the timer through the <xref:System.Windows.Forms.ToolTip.AutoPopDelay%2A> property. The <xref:System.Windows.Forms.ToolTip.StopTimer%2A> method stops this internal timer, causing any displayed ToolTip to be shown modally until the <xref:System.Windows.Forms.ToolTip.Hide%2A> method is called or the parent form is minimized, hidden, or closed. |
1457 | 1457 |
|
1458 | 1458 | ]]></format>
|
1459 | 1459 | </remarks>
|
|
0 commit comments