Property PreserveFilenameOnDirectoryChanges
PreserveFilenameOnDirectoryChanges
Gets or sets a flag that determines behaviour when opening (double click/enter) or selecting a directory in a FileDialog.
If false (the default) then the Path is simply updated to the new directory path.
If true then any typed or previously selected file name is preserved (e.g. "c:/hello.csv" when opening "temp" becomes "c:/temp/hello.csv").
public bool PreserveFilenameOnDirectoryChanges { get; set; }