# DialogListGroup

The **DialogListGroup** object represents a group in a _list view_ control in a [script dialog](../../../scripting/script_dialogs). It's returned by the [**Control**](control)**.GetGroupById** method.

| Property Name | Return Type | Description                                                                                                                             |
| ------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| expanded      | _bool_      | Returns or sets the expansion state of this group. The group must have been added as "collapsible" via the **Control.AddGroup** method. |
| id            | _int_       | Returns the ID of this group.                                                                                                           |
| name          | _string_    | Returns the name of this group.                                                                                                         |
