> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/dialoglistgroup.md).

# DialogListGroup

The **DialogListGroup** object represents a group in a *list view* control in a [script dialog](/directory-opus/manual/scripting/script_dialogs.md). It's returned by the [**Control**](/directory-opus/manual/reference/scripting_reference/scripting_objects/control.md)**.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.                                                                                                         |
