Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

WorkbookSaveOptions.DefaultFileName Property

Gets or sets the default file name used for saving a new document.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public string DefaultFileName { get; set; }

Property Value

Type Description
String

A String which represents the default file name (including the path).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DefaultFileName
WinForms Controls SpreadsheetControlOptions
.Save.DefaultFileName
Office File API DocumentOptions
.Save.DefaultFileName

Remarks

The DefaultFileName property specifies a file name to be suggested in the Save As dialog invoked for saving a document newly created in the SpreadsheetControl. The WorkbookSaveOptions.DefaultFormat property specifies a format for saving a new document. The file extension for the specified file format is added automatically.

See Also