DataSourceOptionsContainer.ObjectDataSourceLoadingBehavior Property
Specifies whether to trust the object data sources available in the end-user application.
Namespace: DevExpress.DataAccess.UI.Design
Assembly: DevExpress.DataAccess.v24.2.UI.dll
Declaration
[DefaultValue(DocumentLoadingBehavior.Prompt)]
public DocumentLoadingBehavior ObjectDataSourceLoadingBehavior { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DocumentLoadingBehavior | Prompt | A DocumentLoadingBehavior enumeration value. |
Available values:
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). |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ObjectDataSourceLoadingBehavior |
---|---|---|
WinForms Controls | SpreadsheetControlOptions |
|
Dashboard | DashboardDesigner |
|
DashboardViewer |
|
|
IDashboardControl |
|
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ObjectDataSourceLoadingBehavior property.
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.