Click or drag to resize

DisplayHandler Class

Version 107.1.120
A WinForms Specific IDisplayHandler implementation that simplifies the process of hosting a Popup as a Control/Tab. Use this implementation as a base for your own custom implementation if you are using Create(CreatePopupChromiumHostControl)
Inheritance Hierarchy

Namespace:  CefSharp.WinForms.Handler
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public class DisplayHandler : DisplayHandler

The DisplayHandler type exposes the following members.

Constructors
  NameDescription
Public methodDisplayHandler
Initializes a new instance of the DisplayHandler class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddressChanged
Called when a frame's address has changed.
(Overrides DisplayHandlerOnAddressChanged(IWebBrowser, AddressChangedEventArgs).)
Protected methodOnAutoResize
Called when auto-resize is enabled via IBrowserHost.SetAutoResizeEnabled and the contents have auto-resized.
(Inherited from DisplayHandler.)
Protected methodOnConsoleMessage
Called to display a console message.
(Overrides DisplayHandlerOnConsoleMessage(IWebBrowser, ConsoleMessageEventArgs).)
Protected methodOnCursorChange
Called when the browser's cursor has changed.
(Inherited from DisplayHandler.)
Protected methodOnFaviconUrlChange
Called when the page icon changes.
(Inherited from DisplayHandler.)
Protected methodOnFullscreenModeChange
Called when web content in the page has toggled fullscreen mode. The client is responsible for resizing the browser if desired.
(Inherited from DisplayHandler.)
Protected methodOnLoadingProgressChange
Called when the overall page loading progress has changed
(Inherited from DisplayHandler.)
Protected methodOnStatusMessage
Called when the browser receives a status message.
(Overrides DisplayHandlerOnStatusMessage(IWebBrowser, StatusMessageEventArgs).)
Protected methodOnTitleChanged
Called when the page title changes.
(Overrides DisplayHandlerOnTitleChanged(IWebBrowser, TitleChangedEventArgs).)
Protected methodOnTooltipChanged
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.
(Inherited from DisplayHandler.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also