    

 ## On this page

  

 

 # Class Group&lt;TGroup, TItem\\&gt;

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Pre](VM.Managed.DAFUL.Pre.md)  
Assembly: dfpredat.dll

The class is to represent the Group of Work.

```csharp
public class Group<TGroup, TItem>

```

#### Type Parameters

`TGroup`

The type of the group.

`TItem`

The type of the item.

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Group&lt;TGroup, TItem&gt;](VM.Managed.DAFUL.Pre.Group-2.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Group()

Initializes a new instance of the  class.

```csharp
public Group()

```

### Group(string)

Initializes a new instance of the  class.

```csharp
public Group(string strName)

```

#### Parameters

`strName` [string](https://learn.microsoft.com/dotnet/api/system.string)

Name of group.

## Properties

### Name

Gets or sets the name.

```csharp
public string Name { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### SubGroups

Gets or sets the sub groups.

```csharp
public List<TGroup> SubGroups { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;TGroup&gt;

### SubItems

Gets or sets the sub items.

```csharp
public List<TItem> SubItems { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;TItem&gt;

## Methods

### Initialize()

Initializes this instance.

```csharp
public virtual void Initialize()

```