property Column.Def(Property as DefColumnEnum) as Variant
Retrieves or sets a value that indicates the default value of given properties for all cells in the same column.

TypeDescription
Property as DefColumnEnum A DefColumnEnum expression that indicates the property being changed.
Variant A Variant value that specifies the newly value.
The Def property allows you to set the default value of given properties for all cells in the same column. You can use this property to set the default value of any property that is available for a cell. For instance, you can use the Def property to assign check boxes to all cells in the column, without enumerating them.

The following VB sample code shows how to assign check boxes to all cells in the first column of the first group:

ExplorerTree1.Groups(0).Columns(0).Def(exCellHasCheckBox) = True