Back to Devexpress

TreeListBandCollection.Remove(TreeListBand) Method

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

latest2.1 KB
Original Source

TreeListBandCollection.Remove(TreeListBand) Method

Removes the specified band from 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 Remove(
    TreeListBand band
)
vb
Public Sub Remove(
    band As TreeListBand
)

Parameters

NameTypeDescription
bandTreeListBand

An object that specifies the band to be removed.

|

Remarks

If the collection contains the specified band, this band is removed from the collection. The band’s child bands (at all nesting levels) and columns are also removed.

See Also

Add

AddBand(String)

AddRange(TreeListBand[])

Insert(Int32, TreeListBand)

TreeListBandCollection Class

TreeListBandCollection Members

DevExpress.XtraTreeList.Columns Namespace