SearchLookUpEdit.Properties Property
Specifies settings specific to the current editor.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
RepositoryItemSearchLookUpEdit | A RepositoryItemSearchLookUpEdit object containing settings for the editor. |
Remarks
Use the Properties object to customize the lookup editor. You can use its members to specify:
- the source of the dropdown rows (RepositoryItemLookUpEditBase.DataSource);
- the field whose data is displayed in the edit box (RepositoryItemLookUpEditBase.DisplayMember);
- the field which matches the edit value (RepositoryItemLookUpEditBase.ValueMember);
- the type of View to represent data in the dropdown (RepositoryItemGridLookUpEditBase.PopupViewType), etc.
- how records in the dropdown window are filtered when typing text within the edit box (RepositoryItemGridLookUpEditBase.PopupFilterMode)
When using editors for inplace editing within container controls, such as the XtraGrid, you do not work with the editors directly, but work with corresponding repository items. In order to use a search lookup editor for inplace editing, you have to create a RepositoryItemSearchLookUpEdit object explicitly (for instance via the grid’s designer) and then assign it to a specific column. A lookup editor will be automatically created when required, based upon the repository item settings.