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

SpreadsheetBehaviorOptions.CreateNew Property

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

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

public virtual DocumentCapability CreateNew { get; set; }

Property Value

Type Description
DocumentCapability

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

Property Paths

You can access this nested property as listed below:

Object Type Path to CreateNew
SpreadsheetControlOptions
.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 SpreadsheetControl.

See Also