Back to Devexpress

DataBindingWarningType Enum

officefileapi-devexpress-dot-xtraspreadsheet-d3c53415.md

latest4.2 KB
Original Source

DataBindingWarningType Enum

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

Namespace : DevExpress.XtraSpreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum DataBindingWarningType
vb
Public Enum DataBindingWarningType

Members

NameDescription
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.”

|

The following properties accept/return DataBindingWarningType values:

Remarks

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

See Also

DevExpress.XtraSpreadsheet Namespace