Skip to main content
.NET 6.0+

DetailViewLayoutAttribute(String, LayoutGroupType) Constructor

Initializes a new instance of the DetailViewLayoutAttribute class.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.1.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