LookUpEditBase.SuppressInvalidLookUpEditValueTypeWarning Field
OBSOLETE
The LookUp editor no longer checks type compatibility of EditValue and ValueMember. Note that operations with incompatible data types can lead to severe issues.
Gets or sets whether to suppress the Invalid Value Type warning for all lookup editors in a WinForms application.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Obsolete("The LookUp editor no longer checks type compatibility of EditValue and ValueMember. Note that operations with incompatible data types can lead to severe issues.")]
public static DefaultBoolean SuppressInvalidLookUpEditValueTypeWarning
Field Value
Type | Description |
---|---|
DefaultBoolean | True to suppress the warning when the editor is bound to a value of incompatible type; False, to warn about incompatible type only once; Default, to warn about incompatible type only once. |
Remarks
All lookup editors (LookUpEdit, SearchLookUpEdit, GridLookUpEdit, and GridLookUpEdit) warn if they are bound to a value of incompatible type, which can lead to various data type issues. By default, the warning is shown only once.
To suppress the warning for all lookup editors in a WinForms application, set the SuppressInvalidLookUpEditValueTypeWarning
option to DefaultBoolean.True.