Click or drag to resize
CfxOnTooltipEventArgs Class

[This is preliminary documentation and is subject to change.]

Called when the browser is about to display a tooltip. |Text| contains the text that will be displayed in the tooltip. To handle the display of the tooltip yourself return true (1). Otherwise, you can optionally modify |Text| and then return false (0) 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.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnTooltipEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnTooltipEventArgs : CfxEventArgs

The CfxOnTooltipEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnTooltip callback.
Public propertyText
Get or set the Text parameter for the OnTooltip callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnTooltip callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_display_handler_capi.h.
See Also