BCGControlBar Library for .NET
OnCategoryTabActivated Method (RibbonControl)




The TabCommandObject to be activated.
An EventArgs that contains an event data.

Performs additional, custom processing when any TabCommandObject has been activated.

Syntax
'Declaration
 
Public Sub OnCategoryTabActivated( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
) 
'Usage
 
Dim instance As RibbonControl
Dim sender As Object
Dim e As EventArgs
 
instance.OnCategoryTabActivated(sender, e)
public void OnCategoryTabActivated( 
   object sender,
   EventArgs e
)
public: void OnCategoryTabActivated( 
   Object* sender,
   EventArgs* e
) 
public:
void OnCategoryTabActivated( 
   Object^ sender,
   EventArgs^ e
) 

Parameters

sender
The TabCommandObject to be activated.
e
An EventArgs that contains an event data.
Remarks
This function  deactivates the previous active TabCommandObject, hide it's related category, displays the related category for a new TabCommandObject and activates it.
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

Reference

RibbonControl Class
RibbonControl Members

Send Feedback