Skip to main content

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.v22.1.UI.dll

NuGet Package: DevExpress.DataAccess.UI

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:

Object Type Path to ObjectDataSourceLoadingBehavior
DashboardDesigner
.DataSourceOptions.ObjectDataSourceLoadingBehavior
DashboardViewer
.DataSourceOptions.ObjectDataSourceLoadingBehavior
IDashboardControl
.DataSourceOptions.ObjectDataSourceLoadingBehavior
See Also