ExpandObjectMembersAttribute(ExpandObjectMembers, String) Constructor

Initializes a new instance of the ExpandObjectMembersAttribute class.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public ExpandObjectMembersAttribute(
    ExpandObjectMembers expandingMode,
    string memberName
)
Public Sub New(
    expandingMode As ExpandObjectMembers,
    memberName As String
)

Parameters

Type Name Description
ExpandObjectMembers expandingMode

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

String memberName

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

See Also