FileDialog::ValidateNames Property
.NET Framework (current version)
Gets or sets a value indicating whether the dialog accepts only valid Win32 file names.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: property bool ValidateNames { bool get(); [SecurityCriticalAttribute] void set(bool value); }
Property Value
Type: System::Booleantrue if warnings will be shown when an invalid file name is provided; otherwise, false. The default is false.
FileIOPermission
to set the validation behavior. Associated enumeration: Unrestricted
.NET Framework
Available since 3.0
Available since 3.0
Show: