Back to Devexpress

SpreadsheetControl.DataBindingWarning Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-8ac85aa8.md

latest2.3 KB
Original Source

SpreadsheetControl.DataBindingWarning Event

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

Namespace : DevExpress.Xpf.Spreadsheet

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

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event DataBindingWarningEventHandler DataBindingWarning
vb
Public Event DataBindingWarning As DataBindingWarningEventHandler

Event Data

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

PropertyDescription
HandledGets 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.
WarningTypeGets 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

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace