Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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.2).

#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