Skip to main content

SpreadsheetControl.DataBindingWarning Event

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

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v24.1.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