BCGControlBar Library for .NET
OnInsertComplete Method (ToolbarButtonCollection)




The zero-based index at which the specified button was inserted.
An inserted button.
Performs additional work after any button was added to the collection by method insert or add. It sets the parent command bar and parent button for inserted button.
Syntax
'Declaration
 
Public Overrides Sub OnInsertComplete( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As ToolbarButtonCollection
Dim index As Integer
Dim value As Object
 
instance.OnInsertComplete(index, value)
public override void OnInsertComplete( 
   int index,
   object value
)
public: void OnInsertComplete( 
   int index,
   Object* value
) override 
public:
void OnInsertComplete( 
   int index,
   Object^ value
) override 

Parameters

index
The zero-based index at which the specified button was inserted.
value
An inserted button.
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

ToolbarButtonCollection Class
ToolbarButtonCollection Members
Base Implementation in OnInsertComplete

Send Feedback