.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DetailViewLayoutAttribute(String, LayoutGroupType) Constructor

Initializes a new instance of the DetailViewLayoutAttribute class.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.2.dll


public DetailViewLayoutAttribute(
    string groupId,
    LayoutGroupType groupType
Public Sub New(
    groupId As String,
    groupType As LayoutGroupType


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

groupType LayoutGroupType

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.


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

See Also