TreeListLookUpEdit.Properties Property
Specifies settings specific to the current editor.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Property Value
Type | Description |
---|---|
RepositoryItemTreeListLookUpEdit | A RepositoryItemTreeListLookUpEdit 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);
When using editors for inplace editing within container controls such as the XtraTreeList, you do not work with the editors directly but work with corresponding repository items. In order to use a lookup editor for inplace editing, you have to create a RepositoryItemTreeListLookUpEdit object explicitly (for instance via the treelist’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.