The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

FileCodeCompletionContextStorage Class

A file storage for the local code completion engine.

Namespace: DevExpress.XtraReports.CodeCompletion.Storages

Assembly: DevExpress.XtraReports.v18.2.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