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

◆ validate_names() [1/2]

virtual bool xtd::forms::file_dialog::validate_names ( ) const
virtualnoexcept

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

Returns
true if the dialog box accepts only valid file names; otherwise, false. The default value is true.
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.