Skip to main content

SpreadsheetViewSettings.Mode Property

Gets or sets a value specifying the control’s view mode.

Namespace: DevExpress.Web.ASPxSpreadsheet

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

NuGet Package: DevExpress.Web.Office

Declaration

[DefaultValue(SpreadsheetViewMode.Editing)]
public SpreadsheetViewMode Mode { get; set; }

Property Value

Type Default Description
SpreadsheetViewMode Editing

One of the SpreadsheetViewMode values.

Available values:

Name Description
Editing

Specifies that the Spreadsheet is in Editing view mode. In this view mode, users can edit a document’s content.

Reading

Specifies that the Spreadsheet is in Reading view mode. In this view mode, users cannot edit a document’s content.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Mode
ASP.NET MVC Extensions SpreadsheetSettings
.SettingsView .Mode
ASP.NET Web Forms Controls ASPxSpreadsheet
.SettingsView .Mode

Remarks

The Spreadsheet control provides the Reading view mode that simplifies viewing documents on mobile devices. When the control in this view mode, all documents are opened in the read-only mode, and the ribbon toolbar is replaced with the specific toolbar for the Reading view mode. The Reading view mode is an alternative to the Editing view mode - the view mode that provides the standard full-featured Spreadsheet.

Use the Mode to switch between the Reading and Editing view modes.

See Also