Skip to main content

ASPxClientRibbon.GetTabByName(name) Method

Returns a tab specified by its name.

Declaration

GetTabByName(
    name: string
): ASPxClientRibbonTab

Parameters

Name Type Description
name string

A string value specifying the name of the tab.

Returns

Type Description
ASPxClientRibbonTab

An ASPxClientRibbonTab object that is the tab with the specified name.

Remarks

The ribbon control’s client-side functionality allows tabs to be accessed programmatically on the client side. The GetTabByName method gets a client tab object specified by its name. A tab’s name is defined by the RibbonTab.Name property.

Note that if an invalid name is passed via the parameter, this method returns null.

See Also