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