xtd 0.2.0
Loading...
Searching...
No Matches

◆ validate_names() [2/2]

virtual file_dialog & xtd::forms::file_dialog::validate_names ( bool  value)
virtual

Gets a value indicating whether the dialog box accepts only valid file names.

Parameters
valuetrue if the dialog box accepts only valid file names; otherwise, false. The default value is true.
Returns
Current file_dialog.
Remarks
If the edit control contains anything but spaces when the user clicks OK, the dialog box returns the file name, whether it is valid or not. No default extension is added to the text.