Skip to main content
All docs
V24.2

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

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.2.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.

See Also