.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPBaseCollection.DisplayableProperties Property

Gets or sets the displayable properties list for a bound control.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll


public string DisplayableProperties { get; set; }
Public Property DisplayableProperties As String

Property Value

Type Description

The displayable properties list, containing property paths separated by semicolons. For example, "FirstName;LastName;Company.Name;Address.City".


The XPBaseCollection class implements the IBindingList and ITypedList interfaces, so a data-aware control such as the XtraGrid can be bound to a collection and display and edit its data (object properties would be represented by columns in the grid). The DisplayableProperties property provides a list of the object properties that are available for binding at design time. Note that it's still possible to bind a control to properties that are not included in the DisplayableProperties list. In this instance, the required property name should be specified (typed) for a control manually in the Property Grid (at design time) or in code.

If an object property represents a persistent object that has nested properties, you can include these nested properties in the DisplayableProperties list. These should be specified in the form: "PropertyName.NestedPropertyName" (for instance, "Address.City"). The number of nested levels is not limited.

When an empty string is assigned, the DisplayableProperties property is actually set to a string that contains all the public properties of the current object.

See Property Descriptors for further details.

See Also