SpreadsheetBehaviorOptions.SaveButtonAlwaysEnabled Property
Gets or sets a value indicating whether the Save button should always be enabled on the ribbon. This is a dependency property.
Namespace: DevExpress.Xpf.Spreadsheet
Assembly: DevExpress.Xpf.Spreadsheet.v24.1.dll
NuGet Package: DevExpress.Wpf.Spreadsheet
Declaration
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 |
---|---|
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).