DetailViewLayoutAttribute(String, LayoutGroupType, Int32) Constructor

Initializes a new instance of the DetailViewLayoutAttribute class.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public DetailViewLayoutAttribute(
    string groupId,
    LayoutGroupType groupType,
    int groupIndex
)
Public Sub New(
    groupId As String,
    groupType As LayoutGroupType,
    groupIndex As Integer
)

Parameters

Type Name Description
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 type and index of the created group are specified using the groupType and groupIndex parameters.

LayoutGroupType groupType

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.

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.

Remarks

If several properties have the same groupId values, their other parameters should be the same as well.

See Also