Ribbon.SetInitialTabId Method

An update method that sets the identifier of the tab that will be selected when the page is rendered.

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

Syntax

'Declaration
Public Overridable Sub SetInitialTabId ( _
    initialTabId As String, _
    visibilityContext As String _
)
'Usage
Dim instance As Ribbon
Dim initialTabId As String
Dim visibilityContext As String

instance.SetInitialTabId(initialTabId, _
    visibilityContext)
public virtual void SetInitialTabId(
    string initialTabId,
    string visibilityContext
)

Parameters

  • initialTabId
    Type: System.String

    Identifier of the tab that will be selected.

  • visibilityContext
    Type: System.String

    Selected tab visibility context.

See Also

Reference

Ribbon Class

Ribbon Members

Microsoft.Web.CommandUI Namespace