Skip to main content
A newer version of this page is available. .

ExpandObjectMembersAttribute.ExpandingMode Property

Specifies whether the target reference property is displayed via several Property Editors representing the referenced object’s properties or via a single Lookup or Object Property Editor.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public ExpandObjectMembers ExpandingMode { get; }

Property Value

Type Description
ExpandObjectMembers

An ExpandObjectMembers enumeration value specifying how the target reference property is displayed in Views.

Available values:

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

For details, refer to the ExpandObjectMembersAttribute class description.

See Also