Click or drag to resize

IDisplayHandlerOnTooltipChanged Method

Version 86.0.240
Called when the browser is about to display a tooltip. text contains the text that will be displayed in the tooltip. You can optionally modify text and then return false to allow the browser to display the tooltip. When window rendering is disabled the application is responsible for drawing tooltips and the return value is ignored.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
bool OnTooltipChanged(
	IWebBrowser chromiumWebBrowser,
	ref string text
)

Parameters

chromiumWebBrowser
Type: CefSharpIWebBrowser
The ChromiumWebBrowser control
text
Type: SystemString
the text that will be displayed in the tooltip

Return Value

Type: Boolean
To handle the display of the tooltip yourself return true otherwise return false to allow the browser to display the tooltip.
Remarks
Only called when using Off-screen rendering (WPF and OffScreen)
See Also