Share via


Ribbon.IsTabAvailable method

Specifies whether a tab is available or not.

Namespace:  Microsoft.Web.CommandUI
Assembly:  Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)

Syntax

'Declaration
Public Function IsTabAvailable ( _
    tabId As String _
) As Boolean
'Usage
Dim instance As Ribbon
Dim tabId As String
Dim returnValue As Boolean

returnValue = instance.IsTabAvailable(tabId)
public bool IsTabAvailable(
    string tabId
)

Parameters

  • tabId
    Type: System.String

    Unique identifier of the tab to verify availability for.

Return value

Type: System.Boolean
true if the tab is available; otherwise, false.

See also

Reference

Ribbon class

Ribbon members

Microsoft.Web.CommandUI namespace