Click or drag to resize

JavascriptDialogOpeningEventArgs Class

Version 112.3.0
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
Inheritance Hierarchy

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax
public class JavascriptDialogOpeningEventArgs : DevToolsDomainEventArgsBase

The JavascriptDialogOpeningEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodJavascriptDialogOpeningEventArgs
Initializes a new instance of the JavascriptDialogOpeningEventArgs class
Top
Properties
  NameDescription
Public propertyDefaultPrompt
Default dialog prompt.
Public propertyHasBrowserHandler
True iff browser is capable showing or acting on the given dialog. When browser has no dialog handler for given target, calling alert while Page domain is engaged will stall the page execution. Execution can be resumed via calling Page.handleJavaScriptDialog.
Public propertyMessage
Message that will be displayed by the dialog.
Public propertyType
Dialog type.
Public propertyUrl
Frame url.
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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also