Back to Devexpress

RadialMenu.AddItem(BarItem) Method

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-radialmenu-dot-additem-x28-devexpress-dot-xtrabars-dot-baritem-x29.md

latest2.0 KB
Original Source

RadialMenu.AddItem(BarItem) Method

Adds a specific item link to the current RadialMenu.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override BarItemLink AddItem(
    BarItem item
)
vb
Public Overrides Function AddItem(
    item As BarItem
) As BarItemLink

Parameters

NameTypeDescription
itemBarItem

A BarItem whose link is added to the RadialMenu.

|

Returns

TypeDescription
BarItemLink

A BarItemLink corresponding to the new item.

|

Remarks

For the RadialMenu object to work correctly, it must be bound to a BarManager or RibbonControl object via the PopupMenuBase.Manager or PopupMenuBase.Ribbon property, respectively.

The item added via the AddItem method must belong to the linked Bar Manager or RibbonControl.

See Also

RadialMenu Class

RadialMenu Members

DevExpress.XtraBars.Ribbon Namespace