BCGControlBar Library for .NET
FindButton Method (DockingPane)




The identifier of the button to find.
Finds a caption button by its numeric identifier on the CaptionCommandButton collection of the DockingPane. If there is no button with the specified identifier in button collection, the null value will be returned.
Syntax
'Declaration
 
Public Function FindButton( _
   ByVal id As Integer _
) As CaptionCommandButton
'Usage
 
Dim instance As DockingPane
Dim id As Integer
Dim value As CaptionCommandButton
 
value = instance.FindButton(id)
public CaptionCommandButton FindButton( 
   int id
)
public: CaptionCommandButton* FindButton( 
   int id
) 
public:
CaptionCommandButton^ FindButton( 
   int id
) 

Parameters

id
The identifier of the button to find.
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