.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ExpandObjectMembersAttribute(ExpandObjectMembers, String) Constructor

Initializes a new instance of the ExpandObjectMembersAttribute class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v21.1.dll

Declaration

public ExpandObjectMembersAttribute(
    ExpandObjectMembers expandingMode,
    string memberName
)

Parameters

Name Type Description
expandingMode ExpandObjectMembers

An ExpandObjectMembers enumeration value specifying how the target reference property is displayed in Views. This parameter value is assigned to the ExpandObjectMembersAttribute.ExpandingMode property.

memberName String

A string that specifies the name of a single property that should be displayed in the parent object View.

See Also