Skip to main content

GetNotInListValueEventArgs Class

Provides data for the RepositoryItemLookUpEdit.GetNotInListValue event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public class GetNotInListValueEventArgs :
    RecordValueEventArgs<object>

Remarks

A lookup editor allows you to display unbound columns in the dropdown and these must be populated by handling the RepositoryItemLookUpEdit.GetNotInListValue event. To create an unbound column, you should set its LookUpColumnInfo.FieldName property to a field name not existing in the RepositoryItemLookUpEditBase.DataSource.

The event is also fired to retrieve values for the RepositoryItemLookUpEditBase.DisplayMember and/or RepositoryItemLookUpEditBase.ValueMember fields if they specify field names which cannot be found in the data source.

Refer to the RepositoryItemLookUpEdit.GetNotInListValue topic for more information.

The field, for which you should provide a value, is referred by the FieldName property. The RecordIndex property identifies the record.

To specify a field value, assign it to the Value property.

Inheritance

Object
EventArgs
DevExpress.XtraEditors.Controls.RecordValueEventArgs<Object>
GetNotInListValueEventArgs
See Also