Back to Devexpress

SpreadsheetViewSettings.Mode Property

aspnet-devexpress-dot-web-dot-aspxspreadsheet-dot-spreadsheetviewsettings.md

latest2.7 KB
Original Source

SpreadsheetViewSettings.Mode Property

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

Namespace : DevExpress.Web.ASPxSpreadsheet

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

NuGet Package : DevExpress.Web.Office

Declaration

csharp
[DefaultValue(SpreadsheetViewMode.Editing)]
public SpreadsheetViewMode Mode { get; set; }
vb
<DefaultValue(SpreadsheetViewMode.Editing)>
Public Property Mode As SpreadsheetViewMode

Property Value

TypeDefaultDescription
SpreadsheetViewModeEditing

One of the SpreadsheetViewMode values.

|

Available values:

NameDescription
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:

LibraryObject TypePath to Mode
ASP.NET MVC ExtensionsSpreadsheetSettings

.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

SpreadsheetViewSettings Class

SpreadsheetViewSettings Members

DevExpress.Web.ASPxSpreadsheet Namespace