Skip to main content

SpreadsheetControl.DocumentLoaded Event

Occurs after a document is loaded into the Spreadsheet control.

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public event EventHandler DocumentLoaded

Event Data

The DocumentLoaded event's data class is EventArgs.

Remarks

The DocumentLoaded event fires after the SpreadsheetControl.LoadDocument method is executed when the document model is built and the loaded document is valid. Handle the DocumentLoaded event to ensure that the document is loaded completely, so you can safely modify it.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentLoaded event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also