BCGControlBar Library for .NET
WidthChanging Event




Occurs when the width of the toolbar button is about to change.
Syntax
'Declaration
 
Public Event WidthChanging As WidthChangingHandler
'Usage
 
Dim instance As ToolbarButton
Dim handler As WidthChangingHandler
 
AddHandler instance.WidthChanging, handler
public event WidthChangingHandler WidthChanging
public: __event WidthChangingHandler* WidthChanging
public:
event WidthChangingHandler^ WidthChanging
Event Data

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

PropertyDescription
NewWidth Specifies the new width  to set to the related ToolbarButton after changing.
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