Skip to main content
.NET Framework 4.5.2+

DetailViewLayoutAttribute(String, Int32) 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,
    int groupIndex
)

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 index of the created group is specified using the groupIndex parameter.

groupIndex Int32

An integer value specifying the index 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 groupIndex parameter should be the same as well.

See Also