Skip to main content
Row

DocumentProperties.Version Property

Gets or sets the version of the application used to create or modify the document.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

string Version { get; set; }

Property Value

Type Description
String

The version number.

Remarks

If you create or modify a workbook in code - or via the Spreadsheet control’s UI - and do not specify the Version value, the Spreadsheet sets this property to the DevExpress major version used in your application (for example, 24.1).

Specify the Version Value

workbook.DocumentProperties.Application = "My Application v1.0.0.0";
workbook.DocumentProperties.Version = "1.0";

Important

The Version property string is limited to 255 characters.

Clear the Version Value

workbook.DocumentProperties.Version = "";
See Also