BCGControlBar Library for .NET
EnableCaptionButton Method




The identifier of the CaptionCommandButton to change the state.
If true, the specified CommandCaptionButton is enabled, otherwise, disabled.
Makes caption button  by the specified index enabled or disabled.
Syntax
'Declaration
 
Public Sub EnableCaptionButton( _
   ByVal id As Integer, _
   ByVal enable As Boolean _
) 
'Usage
 
Dim instance As DockingPane
Dim id As Integer
Dim enable As Boolean
 
instance.EnableCaptionButton(id, enable)
public void EnableCaptionButton( 
   int id,
   bool enable
)
public: void EnableCaptionButton( 
   int id,
   bool enable
) 
public:
void EnableCaptionButton( 
   int id,
   bool enable
) 

Parameters

id
The identifier of the CaptionCommandButton to change the state.
enable
If true, the specified CommandCaptionButton is enabled, otherwise, 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

DockingPane Class
DockingPane Members

Send Feedback