The requested page is not available for the requested platform. You are viewing the content for Default platform.

FileCodeCompletionContextStorage Class

A file storage for the local code completion engine.

Namespace: DevExpress.XtraReports.CodeCompletion.Storages

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

Declaration

public class FileCodeCompletionContextStorage :
    ICodeCompletionContextStorage
Public Class FileCodeCompletionContextStorage
    Implements ICodeCompletionContextStorage

Remarks

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 FileCodeCompletionContextStorage class to store report layouts in the specified file folder. Call the UseLocalEngine(ICodeCompletionContextStorage) method at the application startup and pass this class instance as a parameter.

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

CodeCompletionRequestManager.UseLocalEngine(new FileCodeCompletionContextStorage("D:\\CodeCompletionContext"));

You can also use an in-memory storage (the InMemoryCodeCompletionContextStorage class) or implement the ICodeCompletionContextStorage interface to provide your custom storage.

See the Scripts Overview topic for more information.

Inheritance

Object
FileCodeCompletionContextStorage
See Also