Skip to main content
All docs
V24.1

DataSourceSettings.AllowRemoveDataSource Property

Hides the UI element that allows a user to remove the data source from the Web End-User Report Designer in the Field List.

Namespace: DevExpress.XtraReports.Configuration

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

[DataMember(Name = "allowRemoveDataSource")]
public bool AllowRemoveDataSource { get; set; }

Property Value

Type Description
Boolean

true to show the UI element that allows a user to remove the data source from the Web End-User Report Designer in the Field List; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowRemoveDataSource
ReportDesignerSettingsBase
.DataSourceSettings .AllowRemoveDataSource

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 AllowRemoveDataSource is set to false:

ReportDesignerDataSourceSettings.AllowRemoveDataSource

The following element is hidden:

Element Description
web-designer-field-list-data-source-delete Removes the selected data source.
See Also