Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DetailViewLayoutAttribute(String, LayoutGroupType) Constructor

Initializes a new instance of the DetailViewLayoutAttribute class.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public DetailViewLayoutAttribute(
    string groupId,
    LayoutGroupType groupType
)

#Parameters

Name Type Description
groupId String

A string value specifying the group identifier in which the editor of the target property is placed. If a group with the specified identifier is missing in the default layout, it is created and added to the Main group. The type of the created group is specified using the groupType parameter.

groupType LayoutGroupType

A LayoutGroupType enumeration value specifying the type of a new group which is created if a group with the groupId identifier is missing in the default layout.

#Remarks

If several properties have the same groupId values, their groupType parameter should be the same as well.

See Also