Skip to main content
A newer version of this page is available. .

GetNotInListValueEventArgs Class

Provides data for the RepositoryItemLookUpEdit.GetNotInListValue event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public class GetNotInListValueEventArgs :
    EventArgs

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 GetNotInListValueEventArgs.FieldName property. GetNotInListValueEventArgs.RecordIndex identifies the record. To provide a field value, assign it to the GetNotInListValueEventArgs.Value property.

Inheritance

Object
EventArgs
GetNotInListValueEventArgs
See Also