Skip to main content

InMemoryCodeCompletionContextStorage Class

An in-memory storage for the local code completion engine.

Namespace: DevExpress.XtraReports.CodeCompletion.Storages

Assembly: DevExpress.XtraReports.v23.1.CodeCompletion.dll

NuGet Package: DevExpress.Reporting.CodeCompletion


public class InMemoryCodeCompletionContextStorage :


For End-User Report Designers, you can activate the local code completion engine that works without an Internet connection. Install the DevExpress.Reporting.CodeCompletion NuGet package and call the CodeCompletionRequestManager.UseLocalEngine method at the application startup.

This local engine requires a storage for report layouts.

You can use the predefined InMemoryCodeCompletionContextStorage class to store report layouts in memory. Call the UseLocalEngine() method without parameters at the application startup to register this storage automatically.


Alternatively, you can directly pass this class instance to the UseLocalEngine(ICodeCompletionContextStorage) method overload.

using DevExpress.XtraReports.CodeCompletion;
using DevExpress.XtraReports.CodeCompletion.Storages;

CodeCompletionRequestManager.UseLocalEngine(new InMemoryCodeCompletionContextStorage());

You can also use a file storage (the FileCodeCompletionContextStorage class) or implement the ICodeCompletionContextStorage interface to provide your custom storage.

See the Scripts Overview topic for more information.


See Also