Skip to main content
.NET Framework 4.5.2+

ExpandObjectMembers Enum

Specifies whether a reference property is displayed via several separate property editors or via a single Lookup or Object Property Editor.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

[Flags]
public enum ExpandObjectMembers

Members

Name Description
Never

Specifies that a reference property will always be displayed via an ObjectPropertyEditor or ASPxObjectPropertyEditor will be used for aggregated reference properties and LookupPropertyEditor or ASPxLookupPropertyEditor - for non-aggregated reference properties.

InDetailView

Specifies that a reference property will be displayed via separate Property Editors representing the referenced object’s properties in Detail Views. In List Views, an ObjectPropertyEditor or ASPxObjectPropertyEditor will be used for aggregated reference properties and LookupPropertyEditor or ASPxLookupPropertyEditor - for non-aggregated reference properties.

InListView

Specifies that a reference property will be displayed via separate Property Editors representing the referenced object’s properties in List Views. In Detail Views, an ObjectPropertyEditor or ASPxObjectPropertyEditor will be used for aggregated reference properties and LookupPropertyEditor or ASPxLookupPropertyEditor for non-aggregated reference properties.

Always

Specifies that a reference property will always be displayed via separate Property Editors representing the referenced object’s properties.

Remarks

These enumeration values are used to set the ExpandObjectMembersAttribute.ExpandingMode property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ExpandObjectMembers enum.

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