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

SpreadsheetBehaviorOptions.CreateNew Property

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

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

public virtual DocumentCapability CreateNew { get; set; }
Public Overridable Property CreateNew As DocumentCapability

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
SpreadsheetControl
.Options.Behavior.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