Click or drag to resize

JavascriptMessageReceivedEventArgs Class

Version 94.4.20
Calling CefSharp.PostMessage in Javascript triggers the JavascriptMessageReceived This event args contains the frame, browser and message corrisponding to that call
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    CefSharpJavascriptMessageReceivedEventArgs

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public class JavascriptMessageReceivedEventArgs : EventArgs

The JavascriptMessageReceivedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodJavascriptMessageReceivedEventArgs
Constructor.
Top
Properties
  NameDescription
Public propertyBrowser
The browser that hosts the IFrame
Public propertyFrame
The frame that called CefSharp.PostMessage in Javascript
Public propertyMessage
Message can be a primative type or a simple object that represents a copy of the data sent from the browser
Top
Methods
  NameDescription
Public methodConvertMessageToT
Converts the Message to a specific type using the DefaultBinder that CefSharp provides
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also