Skip to main content

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

GetNotInListValueEventArgs Class

Provides data for the RepositoryItemLookUpEdit.GetNotInListValue event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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