Skip to main content
Bar

BarItemLinkCollection.Clear() Method

Removes all item links from the collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void Clear()

Remarks

To remove a single link from the collection, use the BarItemLinkCollection.Remove or BarItemLinkCollection.RemoveAt method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Clear() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also