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.v21.1.dll

Declaration

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

@(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