RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>.GetByName(String) Method
Retrieves a specific tab from the collection.
Namespace: DevExpress.AspNetCore.Office
Assembly: DevExpress.AspNetCore.Common.v25.1.dll
NuGet Package: DevExpress.AspNetCore.Common
Declaration
public TTabInfoBuilder GetByName(
string name
)
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | The name of the tab. |
Returns
| Type | Description |
|---|---|
| TTabInfoBuilder | The tab builder. |
Remarks
@(Html.DevExpress().RichEdit("richEdit")
.Ribbon(ribbon => ribbon
.Tabs(tabs => {
tabs.GetByName("Home")
.Items(items => {
// removes the first item on the Home tab
items.RemoveAt(0);
// ...
See Also