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