FileDialogEventArgs Properties |
The FileDialogEventArgs type exposes the following members.
Name | Description | |
---|---|---|
CurrentSelectionIdList |
Gets the user's current selection in the dialog.
| |
FileName |
Gets the text currently entered in the dialog's File name edit box.
The text in the File name edit box does not necessarily reflect the item the user chose. To get the item the user chose, use the ResultsIdLists or ResultsIdList properties.
| |
FileTypeIndex |
Gets the currently selected file type.
This is only valid for Common Dialog boxes.
| |
Folder |
Gets the opened Shell Folder instance.
| |
FolderIdList |
Gets the folder id list.
| |
HResult |
Gets or sets the operation HResult.
| |
Hwnd |
Gets the dialog box window handle.
| |
IsCommonDialog |
Gets a value indicating whether this instance represents an event from a Common Dialog box or a custom Dialog box.
| |
IsFileSave |
The context is a File Save dialog.
This is only valid for Common Dialog boxes.
| |
IsFolderPicker |
The context is a Folder Picker dialog.
This is only valid for Common Dialog boxes.
| |
ItemIdList |
Gets the currently selected item in the dialog. This item may be an item selected in the view, or text selected in the file name edit box.
| |
ItemsIdLists |
Gets the currently selected items in the dialog. These items may be items selected in the view, or text selected in the file name edit box.
| |
LParam |
Gets the LParam parameter corresponding to a dialog hook window WM_COMMAND event in the case of a hooked dialog box.
May be 0, otherwise it represents the Handle to the related control window.
| |
Options |
Gets the current flags that are set to control dialog behavior.
This is only valid for Common Dialog boxes.
| |
ResultIdList |
Gets the choice that the user made in the dialog.
| |
ResultsIdLists |
Gets the user's choices in a dialog that allows multiple selection.
| |
Type |
Gets the type of FileDialog event.
The value may not correspond to one of the FileDialogEventType values, but instead may correspond to the raw WParam value of the dialog box hook WM_COMMAND event in the case of a hooked dialog box.
| |
ViewFlags |
Gets the view flags.
This is only valid for Common Dialog boxes.
|