BCGSoft.ControlBars Namespace > ToolbarButton Class : ParentCommandBarChanging Event |
'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
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.
Property | Description |
---|---|
AllowChange | Specifies if the changing of the command bar is allowed. |
NewCommandBar | Specifies the command bar to set as a parent. |
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