Skip to main content
.NET Framework 4.5.2+

XPServerCollectionSource.DisplayableProperties Property

Gets or sets properties that are available for binding in a bound data-aware control at design time.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public string DisplayableProperties { get; set; }

Property Value

Type Description
String

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

Remarks

The DisplayableProperties property provides a list of the properties that are available for design-time binding. Note that it’s still possible to bind 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayableProperties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also