DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.UnloadDialogParams Class Reference

The OnBeforeUnload event parameters. More...

Public Member Functions

 UnloadDialogParams (Browser browser, string message, 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...
 
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...
 

Detailed Description

The OnBeforeUnload event parameters.

Constructor & Destructor Documentation

DotNetBrowser.UnloadDialogParams.UnloadDialogParams ( Browser  browser,
string  message,
bool  isReload 
)

Constructs a new UnloadDialogEventArgs instance.

Parameters
browserthe browser instance on which the event is initially occurred.
messagethe new message value.
isReloadthe indicates whether web page reload action causes the unload dialog message.

Property Documentation

Browser DotNetBrowser.UnloadDialogParams.Browser
get

Gets the browser instance of the dialog.

the owner of this dialog.

bool DotNetBrowser.UnloadDialogParams.IsReload
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.

string DotNetBrowser.UnloadDialogParams.Message
get

Gets a string that represents the dialog message.

a string that represents the dialog message.

CloseStatus DotNetBrowser.UnloadDialogParams.Status
getset

Gets or sets the dialog close status indicates the way (OK or Cancel button) the dialog was closed CloseStatus.