SpreadsheetBehaviorOptions.SaveButtonAlwaysEnabled Property
Gets or sets a value indicating whether the Save button should always be enabled on the ribbon.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, if the Save command is always enabled; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to SaveButtonAlwaysEnabled |
---|---|
SpreadsheetControlOptions |
|
Remarks
By default, the SaveButtonAlwaysEnabled property is false and the Save button becomes available right after the document content is modified for the first time since being last saved (the SpreadsheetControl.Modified property value changes to true).
Set the SaveButtonAlwaysEnabled property to true to make the Save button always active even if no proper modification is done to a document (e.g., the active sheet, selection or scroll position is changed).