The ToolTip property, when set in any WPF control, gets visible when you hover over the control. Apart from this, the ToolTipService class has a bunch of attached properties to help you set various behaviors of the tooltip.
Like the second example, as shown earlier, if you hover over the Open button, the Tooltip property will be visible on screen for 2 seconds. This is because we set the ShowDuration property of the ToolTipService to 2000 milliseconds (2 seconds).
You can also use the ToolTipService.ShowOnDisabled property to show or hide a Tooltip on an element that is disabled. The HasDropShadow property of the class ensures whether the Tooltip will have a shadow on it.