Back to Devexpress

GetNotInListValueEventArgs Class

windowsforms-devexpress-dot-xtraeditors-dot-controls-f958d69e.md

latest3.4 KB
Original Source

GetNotInListValueEventArgs Class

Provides data for the RepositoryItemLookUpEdit.GetNotInListValue event.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class GetNotInListValueEventArgs :
    RecordValueEventArgs<object>
vb
Public Class GetNotInListValueEventArgs
    Inherits RecordValueEventArgs(Of Object)

GetNotInListValueEventArgs is the data class for the following events:

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

GetNotInListValueEventArgs Members

LookUpEdit

GetNotInListValue

DevExpress.XtraEditors.Controls Namespace