Skip to main content
All docs
V26.1
  • 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.v26.1.dll

    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