Back to Devexpress

RibbonItemCollectionBuilder<TItemCollectionBuilder>.InsertMenu(Int32) Method

aspnetcore-devexpress-dot-aspnetcore-dot-office-dot-ribbonitemcollectionbuilder-1-dot-insertmenu-x28-system-dot-int32-x29.md

latest1.3 KB
Original Source

RibbonItemCollectionBuilder<TItemCollectionBuilder>.InsertMenu(Int32) Method

Inserts a new menu item to the ribbon item collection at the specified position.

Namespace : DevExpress.AspNetCore.Office

Assembly : DevExpress.AspNetCore.Common.v25.2.dll

NuGet Package : DevExpress.AspNetCore.Common

Declaration

csharp
public RibbonMenuItemBuilder InsertMenu(
    int index
)

Parameters

NameTypeDescription
indexInt32

The position to insert the item.

|

Returns

TypeDescription
RibbonMenuItemBuilder

An object that can be used to further configure the inserted item.

|

See Also

RibbonItemCollectionBuilder<TItemCollectionBuilder> Class

RibbonItemCollectionBuilder<TItemCollectionBuilder> Members

DevExpress.AspNetCore.Office Namespace