.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

WorkbookSaveOptions.CurrentFileName Property

Gets or sets the file name into which the document is saved or from which it is loaded.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


public string CurrentFileName { get; set; }

Property Value

Type Description

A String which represents the current file name (including the path and the file extension).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CurrentFileName
WinForms Controls SpreadsheetControlOptions
Office File API DocumentOptions

The following code snippets (auto-collected from DevExpress Examples) contain references to the CurrentFileName property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also