DisplayHandlerOnTooltipChanged Method |
Version 101.0.180
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.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax protected virtual bool OnTooltipChanged(
IWebBrowser chromiumWebBrowser,
ref string text
)
protected:
virtual 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