Version

GetContextualTabHeader Method

Returns the header( if any ) else the type of the input contextTabGroup if it is visible. If the item is hidden, returns (Hidden) as the contextTabGroup's header in the format - ContextualTabGroup1(RibbonTabItem1, RibbonTabItem2,..,RibbonTabItemN1) ContextualTabGroup2(RibbonTabItem1, RibbonTabItem2,..,RibbonTabItemN2) and so on. In all other cases, it returns an empty string. Note: The contextTabGroup's header is always terminated with a new-line (\n) character even if it is an empty string.
Syntax
'Declaration
 
Protected Function GetContextualTabHeader( _
   ByVal contextTabGroup As Infragistics.Windows.Ribbon.ContextualTabGroup, _
   ByVal bItemVisiblity As System.Nullable(Of Boolean) _
) As System.String
protected System.string GetContextualTabHeader( 
   Infragistics.Windows.Ribbon.ContextualTabGroup contextTabGroup,
   System.Nullable<bool> bItemVisiblity
)
protected: System.string* GetContextualTabHeader( 
   Infragistics.Windows.Ribbon.ContextualTabGroup* contextTabGroup,
   System.Nullable<bool> bItemVisiblity
) 

Parameters

contextTabGroup
The input contextTabGroup whose header is required
bItemVisiblity
The visiblity of the contextTabGroup which determines the returned header value

Return Value

Returns the header( if any ) else the type of the input contextTabGroup if it is visible or (Hidden) if it is hidden.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also