DotNetBrowser
1.21.5
|
The OnBeforeUnload event parameters. More...
Public Member Functions | |
UnloadDialogParams (Browser browser, string message, string promptText, bool isReload) | |
Constructs a new UnloadDialogEventArgs instance. More... | |
Properties | |
Browser | Browser [get] |
Gets the browser instance of the dialog. More... | |
string | Message [get] |
Gets a string that represents the dialog message. More... | |
string | PromptText [get] |
Gets a string that represents the dialog prompt text. More... | |
bool | IsReload [get] |
Gets indicates whether web page reload action causes the unload dialog message. More... | |
CloseStatus | Status [get, set] |
Gets or sets the dialog close status indicates the way (OK or Cancel button) the dialog was closed CloseStatus. More... | |
The OnBeforeUnload event parameters.
DotNetBrowser.UnloadDialogParams.UnloadDialogParams | ( | Browser | browser, |
string | message, | ||
string | promptText, | ||
bool | isReload | ||
) |
Constructs a new UnloadDialogEventArgs instance.
browser | the browser instance on which the event is initially occurred. |
message | the new message value. |
promptText | the dialog prompt text. |
isReload | the indicates whether web page reload action causes the unload dialog message. |
|
get |
Gets the browser instance of the dialog.
the owner of this dialog.
|
get |
Gets indicates whether web page reload action causes the unload dialog message.
true if web page is going to be reloaded and false if Browser loads other web page.
|
get |
Gets a string that represents the dialog message.
a string that represents the dialog message.
|
get |
Gets a string that represents the dialog prompt text.
a string that represents the dialog prompt text.
|
getset |
Gets or sets the dialog close status indicates the way (OK or Cancel button) the dialog was closed CloseStatus.