Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonItemCollectionBuilder<TItemCollectionBuilder>.RemoveAt(Int32) Method

Removes an item at the specified position from the ribbon item collection.

Namespace: DevExpress.AspNetCore.Office

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

NuGet Package: DevExpress.AspNetCore.Common

#Declaration

C#
public TItemCollectionBuilder RemoveAt(
    int index
)

#Parameters

Name Type Description
index Int32

A zero-based index of the item to remove.

#Returns

Type Description
TItemCollectionBuilder

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

#Remarks

cshtml
@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Tabs(tabs => {
            tabs.GetByTitle("Home")
                .Items(items => {
                    // removes the first item on the Home tab
                    items.RemoveAt(0);
                    //...
See Also