Lookupedit devexpress
RepositoryItemLookUpEdit.Columns - Provides access to the collection of columns displayed in the dropdown window.RepositoryItemLookUpEdit.PopulateColumns method - Creates columns for all fields available in the lookup data source ( RepositoryItemLookUpEditBase.DataSource).Īt design time, you can accomplish this by clicking the Populate Columns link in the editor’s smart tag menu. RepositoryItemLookUpEditBase.ProcessNewValue event - Enables you to add a new record to the lookup data source ( RepositoryItemLookUpEditBase.DataSource).RepositoryItemLookUpEditBase.TextEditStyle property - Enables the text editing feature in the edit box.The following list shows some of the members that help you perform the additional customization of the LookUpEdit control. This scenario is covered in the following topic: You may want to filter the popup data source of one (secondary) lookup editor based on the value of another (primary) lookup editor. Combobox Mode - Allow Entering New Values.Standard Binding (to Simple Data Types).
LOOKUPEDIT DEVEXPRESS HOW TO
See the following topics to learn how to set up lookup editors in different binding modes:
![lookupedit devexpress lookupedit devexpress](https://docs.devexpress.com/WindowsForms/images/lookupeditor195.png)
![lookupedit devexpress lookupedit devexpress](https://1.bp.blogspot.com/-MgJT9dlURPs/Uk7ixP1qtiI/AAAAAAAAAOE/XLESuaWhMaU/s1600/screenshot.png)
To display lookup records with a feature-rich GridControl, use the GridLookUpEdit or SearchLookUpEdit control instead. The LookUpEdit displays lookup records as a lightweight grid. When a lookup record is selected, the editor’s value (the BaseEdit.EditValue bindable property) and display text are modified accordingly.
![lookupedit devexpress lookupedit devexpress](https://docs.devexpress.com/WindowsForms/images/dk-autosuggest-mexicancities.png)
The following members accept/return LookUpEdit objects:ĭemo: LookUp Edit module in the XtraEditors MainDemoĪ lookup editor is an editor with an embedded dropdown window, which displays lookup records (the records from which a user can select).