Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataBindingWarningType Enum

Lists values used to specify the type of data binding warning messages.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum DataBindingWarningType

#Members

Name Description
ReadOnlyDataSourceField

Specifies the data binding warning dialog with the following message: “A cell range you’re trying to modify is bound to the read-only data source field.”

NonEditableDataSource

Specifies the data binding warning dialog with the following message: “A cell range you’re trying to modify is bound to a data source that does not allow edit operations.”

CannotSortBindingRange

Specifies the data binding warning dialog with the following message: “Cannot sort the selected data. It belongs to a data source range for which sorting is not allowed.”

CannotAddOrRemoveColumns

Specifies the data binding warning dialog with the following message: “Cannot add/remove a column to/from a data source range.”

CannotInsertRows

Specifies the data binding warning dialog with the following message: “Cannot add a row(s) to a data source range.”

CannotRemoveRows

Specifies the data binding warning dialog with the following message: “Cannot remove a row(s) from a data source range.”

CannotDeleteTheOnlyRow

Specifies the data binding warning dialog with the following message: “Cannot remove all rows from a data source range. It must contain at least one row.”

CannotModifyFormulas

Specifies the data binding warning dialog with the following message: “Cannot change data in the selected cell range. It contains formulas that belong to a data source range and cannot be modified.”

CannotMergeCells

Specifies the data binding warning dialog with the following message: “Cannot merge cells that belong to a data source range.”

SortedRangeDoesNotContainAllColumns

Specifies the data binding warning dialog with the following message: “The specified cell range cannot be sorted since it does not contain all columns of the data-bound range.”

TableWithMultipleDataBindings

Specifies the data binding warning dialog with the following message: “A table cannot contain multiple data bindings.”

MissingTableHeader

Specifies the data binding warning dialog with the following message: “The table must have a header because the binding range has a header.”

TableAndDataSourceRowCountMismatch

Specifies the data binding warning dialog with the following message: “The number of rows in the table and in the data source do not match.”

TableAndDataSourceColumnCountMismatch

Specifies the data binding warning dialog with the following message: “The number of columns in the table is less than the number of columns in the data source.”

BindingRangeHasNoHeader

Specifies the data binding warning dialog with the following message: “The binding range has no header. Extend the range to include a top row which will be the table header.”

CannotMoveRangeToOtherSheet

Specifies the data binding warning dialog with the following message: “The selected cell range is associated with a data source and cannot be moved to another worksheet.”

#Related API Members

The following properties accept/return DataBindingWarningType values:

#Remarks

The values listed by this enumeration are returned by the DataBindingWarningEventArgs.WarningType property.

See Also