SaveFileDialog.DefaultFileName Property

Silverlight

Gets or sets the file name used if a file name is not specified by the user.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Property DefaultFileName As String

Property Value

Type: System.String
The file name used if a file name is not specified by the user.String.

ExceptionCondition
ArgumentException

Occurs if the specified file name is Nothing or contains invalid characters such as quotes ("), less than (<), greater than (>), pipe (|), backspace (\b), null (\0), tab (\t), colon (:), asterisk(*), question mark (?), and slashes (\\, /).

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: