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.v22.1.dll


public DetailViewLayoutAttribute(
    string groupId,
    int groupIndex


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.


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

See Also