BCGControlBar Library for .NET
ParentCommandBarChanging Event




Occurs when the parent command bar is about to change.
Syntax
'Declaration
 
Public Event ParentCommandBarChanging As ParentCommandBarChangingHandler
'Usage
 
Dim instance As ToolbarButton
Dim handler As ParentCommandBarChangingHandler
 
AddHandler instance.ParentCommandBarChanging, handler
public event ParentCommandBarChangingHandler ParentCommandBarChanging
public: __event ParentCommandBarChangingHandler* ParentCommandBarChanging
public:
event ParentCommandBarChangingHandler^ ParentCommandBarChanging
Event Data

The event handler receives an argument of type ToolBarButtonParentChagingEventArgs containing data related to this event. The following ToolBarButtonParentChagingEventArgs properties provide information specific to this event.

PropertyDescription
AllowChange Specifies if the changing of the command bar is allowed.
NewCommandBar Specifies the command bar to set as a parent.
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

ToolbarButton Class
ToolbarButton Members

Send Feedback