RadialMenu.AddItem(BarItem) Method

Adds a specific item link to the current RadialMenu.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

Parameters

Name Type Description
item BarItem

A BarItem whose link is added to the RadialMenu.

Returns

Type Description
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