DocumentLoadingBehavior Enum
Lists the options that define whether to allow loading object data sources in end-user applications.
Namespace: DevExpress.DataAccess
Assembly: DevExpress.DataAccess.v18.1.dll
Declaration
Members
Name | Description |
---|---|
Prompt
|
Ask for an end-user’s permission on every attempt to load an object data source in an application. |
LoadAsIs
|
Allow loading any object data sources. |
LoadSafely
|
Load object data sources in a safe mode (with their data member and data source settings cleared). |
Related API Members
The following properties accept/return DocumentLoadingBehavior values:
Library | Related API Members |
---|---|
Cross-Platform Class Library | DataSourceOptionsContainer.ObjectDataSourceLoadingBehavior |
WinForms Controls | DataSourceOptionsContainer.ObjectDataSourceLoadingBehavior |
Dashboard | DashboardControl.ObjectDataSourceLoadingBehavior |
Remarks
A DocumentLoadingBehavior enumeration value is returned by the DataSourceOptionsContainer.ObjectDataSourceLoadingBehavior property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentLoadingBehavior enum.
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.