Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions xml/System.Windows.Forms/ToolTip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
</ReturnValue>
<Docs>
<summary>Gets or sets the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.</summary>
<value>The period of time, in milliseconds, that the <see cref="T:System.Windows.Forms.ToolTip" /> remains visible when the pointer is stationary on a control. The default value is 5000.</value>
<value>The period of time, in milliseconds, that the <see cref="T:System.Windows.Forms.ToolTip" /> remains visible when the pointer is stationary on a control. On Windows 11, the default value causes the ToolTip to remain visible indefinitely.</value>
<remarks>
<format type="text/markdown"><![CDATA[

Expand All @@ -329,7 +329,12 @@

If you want to have a consistent delay pattern for your ToolTip windows, you can set the <xref:System.Windows.Forms.ToolTip.AutomaticDelay%2A> property. The <xref:System.Windows.Forms.ToolTip.AutomaticDelay%2A> property sets the <xref:System.Windows.Forms.ToolTip.AutoPopDelay%2A>, <xref:System.Windows.Forms.ToolTip.ReshowDelay%2A>, and <xref:System.Windows.Forms.ToolTip.InitialDelay%2A> properties to initial values based on a single value. Every time the <xref:System.Windows.Forms.ToolTip.AutomaticDelay%2A> property is set, the <xref:System.Windows.Forms.ToolTip.AutoPopDelay%2A> property is set to 10 times the <xref:System.Windows.Forms.ToolTip.AutomaticDelay%2A> property value. Once the <xref:System.Windows.Forms.ToolTip.AutomaticDelay%2A> property is set, you can independently set the <xref:System.Windows.Forms.ToolTip.AutoPopDelay%2A> property, overriding the default value.

The maximum time you can delay a popup is 5000 milliseconds. For longer durations, use the <xref:System.Windows.Forms.ToolTip.Show%2A> method to control the exact moment when the ToolTip is displayed.
The behavior of this property varies by Windows version:

- On Windows 10, the maximum time you can delay a popup is 5000 milliseconds. Values greater than 5000 ms are clamped to 5000 ms.
- On Windows 11, the default value causes tooltips to remain visible indefinitely. When set to a custom value, there's no 5000 ms limit, and the tooltip displays for the specified duration.

For longer durations or precise control over when the ToolTip is displayed, use the <xref:System.Windows.Forms.ToolTip.Show%2A> method.



Expand Down