Class SaveFileDialog
Prompts the user to select a location for saving a file.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Spreadsheet.UI
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class SaveFileDialog
Constructors
SaveFileDialog()
Declaration
public SaveFileDialog()
Properties
Filter
Gets or sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
Declaration
public string Filter { get; set; }
Property Value
System.String
|
SafeFileName
Gets or sets a string containing the file name selected in the file dialog box.
Declaration
public string SafeFileName { get; set; }
Property Value
System.String
|
Methods
OpenFile()
Opens the file with read/write permission selected by the user.
Declaration
public Stream OpenFile()
Returns
System.IO.Stream
The read/write file selected by the user. |
ShowDialog()
Runs a common dialog box with a default owner.
Declaration
public bool ShowDialog()
Returns
System.Boolean
true if the DialogResult is OK or Yes; otherwise false |