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

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.v20.1.Core.dll

Declaration

[DefaultValue(false)]
public bool SaveButtonAlwaysEnabled { get; set; }
<DefaultValue(False)>
Public Property SaveButtonAlwaysEnabled As Boolean

Property Value

Type Description
Boolean

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

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).

See Also