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

SpreadsheetControl.DataBindingWarning Event

Occurs before a data binding warning dialog is shown in the SpreadsheetControl.

Namespace: DevExpress.Xpf.Spreadsheet

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

NuGet Package: DevExpress.Wpf.Spreadsheet

#Declaration

public event DataBindingWarningEventHandler DataBindingWarning

#Event Data

The DataBindingWarning event's data class is DataBindingWarningEventArgs. The following properties provide information specific to this event:

Property Description
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. Inherited from HandledEventArgs.
WarningType Gets the type of the data binding warning dialog to be invoked.

#Remarks

Handle the DataBindingWarning event to customize or suppress the SpreadsheetControl’s data binding warning messages. Use the DataBindingWarningEventArgs.WarningType property to get the type of the warning dialog to be invoked, and set the Handled property to true to prevent the default message from being displayed. Invoke your own dialog within the event handler, if required.

See Also