Back to Devexpress

TreeListBandCollection.AddRange(TreeListBand[]) Method

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistbandcollection-dot-addrange-x28-devexpress-dot-xtratreelist-dot-columns-dot-treelistband-x29.md

latest2.5 KB
Original Source

TreeListBandCollection.AddRange(TreeListBand[]) Method

Adds an array of bands to the end of the band collection.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public void AddRange(
    TreeListBand[] bands
)
vb
Public Sub AddRange(
    bands As TreeListBand()
)

Parameters

NameTypeDescription
bandsTreeListBand[]

An array of bands to be added to the collection.

|

Remarks

Bands are added to the collection in the order specified by their positions within the array.

You can also add individual bands to the band collection using the TreeListBandCollection.Add, TreeListBandCollection.AddBand and TreeListBandCollection.Insert methods.

See Also

Add

AddBand(String)

Insert(Int32, TreeListBand)

Remove(TreeListBand)

TreeListBandCollection Class

TreeListBandCollection Members

DevExpress.XtraTreeList.Columns Namespace