BCGControlBar Library for .NET
CloseTab(TabItem) Method




A TabItem associated with the MDIChildForm to close.

Closes the MDIChild form associated with the specified TabItem. Called by the framework when user selects a menu item "Close" from the context menu of the related tab item.

Syntax
'Declaration
 
Public Overloads Sub CloseTab( _
   ByVal item As TabItem _
) 
'Usage
 
Dim instance As MDIContainer
Dim item As TabItem
 
instance.CloseTab(item)
public void CloseTab( 
   TabItem item
)
public: void CloseTab( 
   TabItem* item
) 
public:
void CloseTab( 
   TabItem^ item
) 

Parameters

item
A TabItem associated with the MDIChildForm to close.
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

MDIContainer Class
MDIContainer Members
Overload List

Send Feedback