Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Add Method, ColumnCollectionClass Class

Adds the specified column to the column collection.

Class: ColumnCollectionClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public void Add( ColumnClass Col );
Public Sub Add( ByVal Col As ColumnClass )

Parameters

Col

Defines the new column.

Comments

Adds the specified column to the column collection.

The column is added to the end of the column collection and becomes the last displayed column.

To add more than one column, use the ColumnCollectionClass.AddRange method instead.

This method is typically used by designers, generating the source code to populate the tree control. Applications would normally use the ColumnsClass.Count property to define the number of columns.

See Also ColumnCollectionClass Class | Classes | SftTree/NET 2.0