Back to Devexpress

SpreadsheetBehaviorOptions.SaveButtonAlwaysEnabled Property

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetbehavioroptions-456e02e6.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public bool SaveButtonAlwaysEnabled { get; set; }
vb
Public Property SaveButtonAlwaysEnabled As Boolean

Property Value

TypeDescription
Boolean

true, if the Save command is always enabled; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to 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

SpreadsheetBehaviorOptions Class

SpreadsheetBehaviorOptions Members

DevExpress.Xpf.Spreadsheet Namespace