windowsforms-devexpress-dot-xtrabars-dot-baritemlink-96f0c476.md
Returns a BarItem to which the current item link corresponds.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public BarItem Item { get; }
<Browsable(False)>
Public ReadOnly Property Item As BarItem
| Type | Description |
|---|---|
| BarItem |
A BarItem to which the current item link corresponds.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Item property.
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.
RibbonPageGroup interactivityGroup = page.Groups[1];
BarItem drillDownBarItem = interactivityGroup.ItemLinks[2].Item;
interactivityGroup.ItemLinks.Remove(drillDownBarItem);
Dim interactivityGroup As RibbonPageGroup = page.Groups(1)
Dim drillDownBarItem As BarItem = interactivityGroup.ItemLinks(2).Item
interactivityGroup.ItemLinks.Remove(drillDownBarItem)
See Also