Skip to main content

RadialMenu.AddItem(BarItem) Method

Adds a specific item link to the current RadialMenu.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public override BarItemLink AddItem(
    BarItem item
)

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