Skip to main content

TcxCustomTreeList.RestoreColumnsDefaults Method

Restores the default settings of all columns.

Declaration

procedure RestoreColumnsDefaults;

Remarks

This method restores the following settings:

  • The column’s sort order (see the SortOrder property) is set to soNone.

  • The column’s caption text alignments (see the TcxTreeListCaption.AlignHorz and TcxTreeListCaption.AlignVert properties) are set to taLeftJustify and vaTop.

  • The column’s width is set to its default value (see the column’s MinWidth and Width properties).

  • Default column options are restored to their default values (see the column’s Options property).

To restore only the default column width, use the RestoreColumnsWidths method.

See Also