Skip to main content
All docs
V24.1

DataSourceSettings.AllowEditDataSource Property

Hides UI elements that allow the user to edit the data source and queries in the Field List.

Namespace: DevExpress.XtraReports.Configuration

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

[DataMember(Name = "allowEditDataSource")]
public bool AllowEditDataSource { get; set; }

Property Value

Type Description
Boolean

true to show UI elements that allow the user to edit the data source and queries in the Field List; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowEditDataSource
ReportDesignerSettingsBase
.DataSourceSettings .AllowEditDataSource

Remarks

The following image shows the Field List in the Web End-User Report Designer when the AllowEditDataSource property is set to true (default value):

ReportDesignerDataSourceSettings Default Values

The following image shows the Field List in the Web End-User Report Designer when the AllowEditDataSource property is set to false:

ReportDesignerDataSourceSettings.AllowEditDataSource

The following elements are hidden:

Element Description
web-designer-field-list-data-source-rename Allows the user to rename the data source.
web-designer-field-list-data-source-rebuild Allows the user to rebuild the result schema.
web-designer-field-list-data-source-edit-relationships Invokes the Master-Detail Relation Editor.
web-designer-field-list-data-source-add-query Invokes the Create a Query or Select a Stored Procedure wizard page.

The following elements are hidden for the data source queries:

Element Description
web-designer-field-list-data-source-edit-relationships Invokes the Create a Query or Select a Stored Procedure wizard page.
web-designer-field-list-data-source-delete Removes the selected query.
See Also