Skip to main content
Bar

BarItemLinkCollection.Remove(BarItemLink) Method

Removes a link from the collection.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public virtual void Remove(
    BarItemLink link
)

Parameters

Name Type Description
link BarItemLink

A BarItemLink object representing the link to remove.

Remarks

The Remove method does nothing if the specified link is not found in the collection. To remove all links from the collection, use the BarItemLinkCollection.Clear method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Remove(BarItemLink) 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