> 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/dialoglistcolumn.md).

# DialogListColumn

The **DialogListColumn** object represents a column in a *Details* mode *list view* control in a [script dialog.](/directory-opus/manual/scripting/script_dialogs.md) Use the [**Control**](/directory-opus/manual/reference/scripting_reference/scripting_objects/control.md)**.columns** property to obtain a [**DialogListColumns**](/directory-opus/manual/reference/scripting_reference/scripting_objects/dialoglistcolumns.md) object, and then enumerate it to obtain individual **DialogListColumn** objects.&#x20;

| Property Name | Return Type | Description                                                                                                                                                                                                                                                                                                          |
| ------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name          | *string*    | Returns or sets the column's name.                                                                                                                                                                                                                                                                                   |
| resize        | *bool*      | Set this property to **True** if you want this column to automatically resize when the list view is resized horizontally. Only one column can be set to auto-resize at a time.                                                                                                                                       |
| sort          | *int*       | Returns **1** if the list view is currently sorted forwards by this column, **-1** if it's currently sorted backwards by this column, or **0** otherwise. Settings this property will re-sort the list.                                                                                                              |
| width         | *int*       | Returns or sets the column's width in pixels. Set it to **-1** to automatically size the column to fit its content. You can automatically resize all columns at once using the [DialogListColumns](/directory-opus/manual/reference/scripting_reference/scripting_objects/dialoglistcolumns.md)**.AutoSize** method. |
