IDisplayHandlerOnTooltipChanged Method |
Version 89.0.170
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: 89.0.170.0 (89.0.170.0)
Syntax bool OnTooltipChanged(
IWebBrowser chromiumWebBrowser,
ref string text
)
bool OnTooltipChanged(
IWebBrowser^ chromiumWebBrowser,
String^% text
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - text
- Type: SystemString
the text that will be displayed in the tooltip
Return Value
Type:
BooleanTo 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