Click or drag to resize
CfxDisplayHandler Class

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

Implement this structure to handle events related to browser display state. The functions of this structure will be called on the UI thread.
Inheritance Hierarchy

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
public class CfxDisplayHandler : CfxClientBase

The CfxDisplayHandler type exposes the following members.

Public methodCfxDisplayHandler
Initializes a new instance of the CfxDisplayHandler class
Public propertyCallbacksDisabled
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.
(Inherited from CfxClientBase.)
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxClientBase.)
Public eventOnAddressChange
Called when a frame's address has changed.
Public eventOnConsoleMessage
Called to display a console message. Return true (1) to stop the message from being output to the console.
Public eventOnFaviconUrlchange
Called when the page icon changes.
Public eventOnFullscreenModeChange
Called when web content in the page has toggled fullscreen mode. If |Fullscreen| is true (1) the content will automatically be sized to fill the browser content area. If |Fullscreen| is false (0) the content will automatically return to its original size and position. The client is responsible for resizing the browser if desired.
Public eventOnStatusMessage
Called when the browser receives a status message. |Value| contains the text that will be displayed in the status message.
Public eventOnTitleChange
Called when the page title changes.
Public eventOnTooltip
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.
See also the original CEF documentation in cef/include/capi/cef_display_handler_capi.h.
See Also