[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = true)]
public class VisibleInLookupListViewAttribute :
<AttributeUsage(AttributeTargets.Field Or AttributeTargets.Property, Inherited:=True)>
Public Class VisibleInLookupListViewAttribute
By default, an Object type business class property is displayed via a Lookup Property Editor. In the drop-down frame of this Property Editor, there is a List View that displays a collection of existing objects of the specified type.
By default, a Lookup Property Editor's List View displays the properties that use the FriendlyKeyPropertyAttribute and/or DefaultProperty attribute. However, you can display any business class property in that List View by applying the VisibleInLookupListView attribute to this property, and passing true as the attribute's value parameter. If the business class has no default property, all its properties are visible in a Lookup List View. In this case, you can hide a certain property by applying the VisibleInLookupListView attribute to this property, and passing false as the attribute's value parameter. To learn more about the rules used to generate the default columns set in List Views, refer to the List View Column Generation topic.
In ASP.NET applications, the ASPxComboBox control with a single column is used when the LookupEditorModeAttribute.Mode property is set to LookupEditorMode.AllItems. It is not possible to show multiple data columns in this mode. Change the mode to AllItemsWithSearch or Search to show several columns. You can also introduce a new calculated string property which combines the values you are going to display, and show it in a lookup.