This designer can be invoked from the RepositoryItemTreeListLookUpEdit.TreeList property in the Visual Studio Properties window and from the TreeListLookUpEdit control’s smart tag. Use this property for treelist customization - specify service key fields ( TreeList.KeyFieldName, TreeList.ParentFieldName) that form the data hierarchy, add columns (bound and unbound), add bands, create summaries, etc.Īt design time, you can use the Tree List designer to customize the TreeList control. When you create a TreeListLookUpEdit control, the RepositoryItemTreeListLookUpEdit.TreeList property is automatically initialized with an instance of the TreeList class. RepositoryItemTreeListLookUpEdit.TreeList - Gets or sets a TreeList associated with the current TreeListLookUpEdit control. The following list shows some of the members that help you perform additional customization of the TreeListLookUpEdit 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 a value of another (primary) lookup editor. Standard Binding (to Simple Data Types).
Lookupedit devexpress how to#
To learn how to set up lookup editors in different binding modes, see the following topics: The TreeListLookUpEdit displays lookup records in the dropdown using the feature-rich TreeList control. When a lookup record is selected, the editor’s value (the BaseEdit.EditValue bindable property) and display text are modified accordingly. RepositoryItemTreeListLookUpEdit.OwnerEditĪ lookup editor is an editor with an embedded dropdown window which displays lookup records (the records from which an end-user can select).The following members accept/return TreeListLookUpEdit objects: