GetNotInListValueEventArgs Class

Provides data for the RepositoryItemLookUpEdit.GetNotInListValue event.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public class GetNotInListValueEventArgs :
    EventArgs
Public Class GetNotInListValueEventArgs
    Inherits 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