DisplayHandlerOnTooltipChanged Method |
Version 130.1.90
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.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax protected virtual bool OnTooltipChanged(
IWebBrowser chromiumWebBrowser,
ref string text
)
protected:
virtual bool OnTooltipChanged(
IWebBrowser^ chromiumWebBrowser,
String^% text
)
Parameters
- chromiumWebBrowser IWebBrowser
- The ChromiumWebBrowser control
- text String
- the text that will be displayed in the tooltip
Return Value
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