ShowDuration Attached Property

ToolTipService.ShowDuration Attached Property


Gets or sets the amount of time that a tooltip remains visible.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

See GetShowDuration, SetShowDuration

Property Value

Type: System.Int32

An integer value that represents the display time in milliseconds. The default value is 5000 milliseconds.

Exception Condition

The value of the InitialShowDelay property is less than zero (0).

This property defines the time that a tooltip remains visible while the user pauses the mouse pointer over the object that defines the tooltip. If the user moves the mouse pointer off of the object, the tooltip closes.

This property is an . For information about how to get or set the value of this property in code, see the GetShowDuration and SetShowDuration methods.GTMT

Identifier field


Metadata properties set to true


Legacy Code Example

The following example shows how to set the ShowDuration property for a tooltip.

Code snippet is not found. Confirm that the code snippet name 'ToolTipService' is correct.Code snippet is not found. Confirm that the code snippet name 'ToolTipService' is correct.
Return to top
© 2015 Microsoft