TableGroupContainerLayoutBuilder<T>.GroupContainer(String) Method
Initializes a group container builder.
Namespace: DevExpress.Mvvm.DataAnnotations
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
groupName | String | A group container name. |
Returns
Type | Description |
---|---|
TableGroupContainerLayoutBuilder<T> | The table group container layout builder instance. |
Remarks
The GroupContainer property is recognized by the GridControl, TreeListControl and PropertyGridControl.
See the example below.
void IMetadataProvider<DataAnnotations_FluentAPI>.BuildMetadata(MetadataBuilder<DataAnnotations_FluentAPI> builder) {
builder.TableLayout()
.GroupContainer("Order Details")
.Group("Main")
.ContainsProperty(p => p.CustomerName)
.ContainsProperty(p => p.OrderDate)
.EndGroup();
.EndGroupContainer();
}
See Also