Click or drag to resize

JavascriptDialogOpeningEventArgs Class

Version 130.1.90
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    CefSharp.DevToolsDevToolsDomainEventArgsBase
      CefSharp.DevTools.PageJavascriptDialogOpeningEventArgs

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

The JavascriptDialogOpeningEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodJavascriptDialogOpeningEventArgsInitializes 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also