DetailViewLayoutAttribute(LayoutColumnPosition, String, Int32) Constructor

Initializes a new instance of the DetailViewLayoutAttribute class.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public DetailViewLayoutAttribute(
    LayoutColumnPosition columnPosition,
    string groupId,
    int groupIndex
)
Public Sub New(
    columnPosition As LayoutColumnPosition,
    groupId As String,
    groupIndex As Integer
)

Parameters

Type Name Description
LayoutColumnPosition columnPosition

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

String groupId

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.

Int32 groupIndex

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