BCGControlBar Library for .NET
EnableButton Method




A command from the tabstrip to set enabled or disabled.
If true, the specified command is enabled, ohterwise, disabled.
Makes the specified button from the tab strip command enabled or disabled.
Syntax
'Declaration
 
Public Sub EnableButton( _
   ByVal command As TabStripCommand, _
   ByVal enable As Boolean _
) 
'Usage
 
Dim instance As TabStripCommandPanel
Dim command As TabStripCommand
Dim enable As Boolean
 
instance.EnableButton(command, enable)
public void EnableButton( 
   TabStripCommand command,
   bool enable
)
public: void EnableButton( 
   TabStripCommand command,
   bool enable
) 
public:
void EnableButton( 
   TabStripCommand command,
   bool enable
) 

Parameters

command
A command from the tabstrip to set enabled or disabled.
enable
If true, the specified command is enabled, ohterwise, disabled.
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

TabStripCommandPanel Class
TabStripCommandPanel Members

Send Feedback