BCGControlBar Library for .NET
EnableNewTab Property (TabStrip)




Enables or disables the "new tab" feature.
Syntax
'Declaration
 
Public Property EnableNewTab As Boolean
'Usage
 
Dim instance As TabStrip
Dim value As Boolean
 
instance.EnableNewTab = value
 
value = instance.EnableNewTab
public bool EnableNewTab {get; set;}
public: __property bool get_EnableNewTab();
public: __property void set_EnableNewTab( 
   bool value
);
public:
property bool EnableNewTab {
   bool get();
   void set (    bool value);
}
Remarks
When the "new tab" feature is enabled, a dummy tab is added at the end of tab collection. When an user clicks this tab a new tabbed document is opened. A tab strip raises the NewTabClicked event and subscribers should process it in order to associate a document or any other desired content with the newly added tab.
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

TabStrip Class
TabStrip Members

Send Feedback