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

The OnFileChooser event parameters. More...

Public Member Functions

 FileChooserParams (Browser browser, FileChooserMode mode, string acceptTypes)
 Constructs a new FileChooserEventArgs instance. More...
 

Properties

string SelectedFiles [get, set]
 Gets or set the full path of selected files or null if file wasn't selected. More...
 
CloseStatus Status [get, set]
 Gets or set CloseStatus.OK when dialog was closed successfully or CloseStatus.CANCEL when dialog was closed via Cancel button. More...
 
string AcceptTypes [get, set]
 Gets or sets the accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload). More...
 
Browser Browser [get]
 Gets the browser instance of the dialog. More...
 
FileChooserMode Mode [get]
 Gets the mode of the dialog. More...
 

Detailed Description

The OnFileChooser event parameters.

Constructor & Destructor Documentation

DotNetBrowser.FileChooserParams.FileChooserParams ( Browser  browser,
FileChooserMode  mode,
string  acceptTypes 
)

Constructs a new FileChooserEventArgs instance.

Parameters
browserthe browser instance of the dialog.
modethe mode of the dialog
acceptTypesthe accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload)

Property Documentation

string DotNetBrowser.FileChooserParams.AcceptTypes
getset

Gets or sets the accept attribute specifies the types of files that the server accepts (that can be submitted through a file upload).

Browser DotNetBrowser.FileChooserParams.Browser
get

Gets the browser instance of the dialog.

the owner of this dialog.

FileChooserMode DotNetBrowser.FileChooserParams.Mode
get

Gets the mode of the dialog.

the mode of the dialog.

string DotNetBrowser.FileChooserParams.SelectedFiles
getset

Gets or set the full path of selected files or null if file wasn't selected.

CloseStatus DotNetBrowser.FileChooserParams.Status
getset

Gets or set CloseStatus.OK when dialog was closed successfully or CloseStatus.CANCEL when dialog was closed via Cancel button.