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

RepositoryItemLookUpEditBase.ThrowExceptionOnInvalidLookUpEditValueType Property

Gets or sets whether the LookUp editor automatically detects data type issues and throws an exception.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public virtual bool ThrowExceptionOnInvalidLookUpEditValueType { get; set; }

#Property Value

Type Description
Boolean

true to throw an exception when data type issues occur; otherwise, false.

#Remarks

The ValueMember property specifies a data source field with unique/key values. The type of this field must match the type of the EditValue property. Enable the ThrowExceptionOnInvalidLookUpEditValueType option to detect data type issues.

See Also