RibbonTabCollectionBuilder<TTabCollectionBuilder, TTabInfoBuilder, TItemCollectionBuilder>.GetByName(String) Method
In This Article
Retrieves a specific tab from the collection.
Namespace: DevExpress.AspNetCore.Office
Assembly: DevExpress.AspNetCore.Common.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Common
#Declaration
C#
public TTabInfoBuilder GetByName(
string name
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | The name of the tab. |
#Returns
Type | Description |
---|---|
TTab |
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