c# - How can I get a PropertyGrid to show a SaveFileDialog? -


I have property grid control where I want to be able to display a SaveFileDialog because the user is in the process of exporting data For a new file I can easily hook up an OpenFileDialog with a FileNameEditor, but do not seem to have the same class to save the files.

Is there an existing class that I can specify in the System.ComponentModel.Editor attribute that a SaveFileDialog is displayed?

The object that you call propertyGrid1.SelectedObject is a public property like the following Needed:

  Private string _saveFile; [Browser attitudes] [editor attit (typef (SafeFilmName), typef (system drawings.design.uitipedit))] Public String SavingsFileEditorLight {Receive {Return_sffile; } Set {_saveFile = value; }}  

To answer the job :) Then on the runtime, when you edit this property, the elipission will show and you will be able to select a file to save as


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -