Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

AddRange Method, ColumnCollectionClass Class

Adds the specified columns to the column collection.

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

Syntax

public void AddRange( ColumnClass[] ColumnArray );
Public Sub AddRange( ByVal ColumnArray As ColumnClass() )

Parameters

ColumnArray

Defines the new columns.

Comments

Adds the specified columns to the column collection.

The columns are added to the column collection which is cleared first, and become the displayed columns.

To add one column, use the Add 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