Skip to main content
.NET 6.0+

DetailViewLayoutAttribute(LayoutColumnPosition, String, Int32) Constructor

Initializes a new instance of the DetailViewLayoutAttribute class.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public DetailViewLayoutAttribute(
    LayoutColumnPosition columnPosition,
    string groupId,
    int groupIndex
)

Parameters

Name Type Description
columnPosition LayoutColumnPosition

A Nullable<LayoutColumnPosition> enumeration value specifying the column in which the editor of the target property is placed.

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