Skip to main content
A newer version of this page is available. .

ASPxSpreadsheetBehaviorSettings.CreateNew Property

Gets or sets whether the Create New Document operation is permitted.

Namespace: DevExpress.Web.ASPxSpreadsheet

Assembly: DevExpress.Web.ASPxSpreadsheet.v20.2.dll

NuGet Package: DevExpress.Web.Office

Declaration

[DefaultValue(DocumentCapability.Default)]
public DocumentCapability CreateNew { get; set; }

Property Value

Type Default Description
DocumentCapability **Default**

A DocumentCapability enumeration value specifying the document’s capability to perform an operation.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CreateNew
ASP.NET Controls and MVC Extensions ASPxSpreadsheetSettings
.Behavior .CreateNew
ASP.NET MVC Extensions MVCxSpreadsheetSettings
.Behavior .CreateNew

Remarks

The DocumentCapability.Default value for the CreateNew property is equal to DocumentCapability.Enabled, so that the Create New Document operation is available in the Spreadsheet control.

See Also