BCGSoft.ControlBars Namespace : ToolbarButton Class |
The following tables list the members exposed by ToolbarButton.
Name | Description | |
---|---|---|
![]() | ToolbarButton Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | m_handlers | Represents a collection of event handlers of the toolbar button. As usual, this collection contains an ExecuteCommand event handler and UpdateCommandUI event handlers. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
Name | Description | |
---|---|---|
![]() | ArrowRect | |
![]() | AutoRepeatEnabled | Specifies if the timer for execution of autorepeat commands is enabled. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | BasicCommand | Set to false in order to hide this button in MRU mode (most recent used commands mode). You can set MenuBar::ShowAllCommands property to control this mode. |
![]() | Bounds | Specifies the boundaries of the command object. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | ButtonMode | |
![]() | CanAddToCustomizeList | Indicates a value whether button can be added to customize list in Ribbon application. |
![]() | CanBeSeparated | |
![]() | CanExecuteDefaultCommand | |
![]() | CanResize | |
![]() | CanShowPopupMenu | Tells whether the toolbar button can show a popup menu. |
![]() | CanStretch | Applied to combo box and edit box buttons, which placed on toolbars in StandAlone (non-dockable) mode. If true, the button will be automatically resized to take the rest of toolbar space. Can be only one button per toolbar. |
![]() | CanUpdateCommandUI | If true, button fires UpdateCommandUI event at idle time. Keep this property false unless you subscribe to UpdateCommandUI for this button. |
![]() | Checkable | Specifies if the command object can get a check state. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | Checked | Gets or sets a value indicating whether the command object is in the checked state. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | ClickArrow | |
![]() | CloseBackstageOnClick | |
![]() | ClosePopupMenuOnClick | |
![]() | CmdBarManager | |
![]() | ColdImage | Specifies a cold image for the button. |
![]() | CollapseState | Specifies the collapsed state of the ToolbarButton on the Ribbon control. |
![]() | CommandDescription | Command description appears in Description area on Customize dialog.")> |
![]() | CommandEntry | |
![]() | CommandIndexInCommandList | |
![]() | CommandName | Specifies unique text identifier of command. Designer will create event handlers using this text. |
![]() | CommandText | Command Text appears in Customize dialog. |
![]() | Container | (Inherited from System.ComponentModel.Component) |
![]() | CustomImage | |
![]() | CustomLayout | Specifies if the size and location of the command object is defined by user and this object will not be resized and moved on calling function AdjustLayout of the parent command panel. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | DesignMode | |
![]() | DisabledImage | Specifies button default image. The image is stored in the underlined command. If you change this property, all buttons with the same ID/CommandName will display this image. By default the library generates this image from HiColorImage. |
![]() | DisabledLargeImage | Specifies button disabled small image. The image is stored in the underlined command. If you change this property, all buttons with the same ID/CommandName will display this image. By default the library generates this image from LargeImage. |
![]() | DisabledMenuImage | Specifies the image to draw on the toolbar button in the disabled state. |
![]() | DisplayedImageRect | |
![]() | DisplayHDPIImage | Tells whether the button currently displays HDPI or regular images. |
![]() | DisplayImage | |
![]() | DrawDefaultImageOnCustomizeList | |
![]() | Editable | |
![]() | Enabled | Overridden. |
![]() | Exclusive | |
![]() | ExplicitDispose | This property has no default implementation. Override this property in the derived class to specify if the command object should be destroy on removing the parent command panel. In BCGControlBar.NET library this property is used in destructor of the PopupMenuBar class to specify if its child menu items should be removed. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | FadedImage | |
![]() | FirstInGroup | |
![]() | Group | Specifies Category name in Customize dialog. The button will appear under this Category. |
![]() | HashedCommand | |
![]() | HDPIColdImage | Specifies a cold image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HDPIDisabledImage | Specifies a disabled image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HDPIDisabledLargeImage | Specifies a disabled large image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HDPIDisabledMenuImage | Specifies a disabled menu image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HDPIHiColorImage | Specifies an high color image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HdpiImageMode | Specifies how this button treats HDPI images (HDPIColdImage, HDPIDisabledImage and other properties). Set this property to HDPIImageMode.Inherit to inherit this setting from CommandBarManager.DisplayHDPIImages. Set this property to HDPIImageMode.HDPI to always display HDPI images. Set this property to HDPIImageMode.Normal to always display regular images. If HDPI image(s) is not specified, the library always falls back to appropriate regular images. |
![]() | HDPILargeImage | Specifies a large image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HDPIMenuImage | Specifies a menu image to be used in HDPI mode. The HDPIImageMode property should be set to HDPIImageMode.Inherit or HDPIImageMode.HDPI to make this image shown when you decide that application should use special HDPI images. |
![]() | HiColorImage | Specifies button default image. The image is stored in the underlined command. If you change this property, all buttons with the same ID/CommandName will display this image. |
![]() | Hidden | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | Highlighted | Indicates a value if the command object is highlighted. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | HorzOnly | |
![]() | HostCommandBar | |
![]() | ID | Overridden. Unique command identifier this button is related to. This value is assigned automatically by the library. However, you can set it manually to quickly assign the button to another command. |
![]() | IgnoreImageArea | |
![]() | IgnoreLargeIconsMode | Overridden. |
![]() | InternalImageID | Specifies the image from IMAGE_IDS collection to draw within the button. In default implementation of the constructor of the CommandButton class the value "Undefined" is set. (Inherited from BCGSoft.Controls.Shared.CommandButton) |
![]() | IsCommand | |
![]() | IsDialogControl | Specifies if the command object should be redrawn as a dialog control. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | IsHorizontal | Overridden. |
![]() | IsItemList | Usable only for menu buttons. If you set this property to true, the button will be treated as a single entity in Customize mode, but expanded into list of menu items at runtime. For example, this property should be true for Windows List menu item. |
![]() | IsSeparator | Overridden. Set to true in order to turn this button into a separator. |
![]() | IsWindowPositionMenu | Usable only for menu buttons. Set to true in conjunction with IsItemList property. The button will be automatically expanded into Floating, Dockable, Tabbed Document, Auto Hide, Hide menu item list. |
![]() | KeyTip | Specifies an unique in the current context combination of one or two letters for the keyboard navigation to the given command. |
![]() | KeyTipSplit | Specifies an unique in the current context combination of one or two letters for the keyboard navigation to the given command. KeyTipSplit is used for split menu buttons only/ It's diplayed in the right part of menu button and opens a popup menu. |
![]() | LargeIconArea | |
![]() | LargeIconsDelimiterMode | Specifies the mode of toolbar button in LargeIconMode and Smart mode |
![]() | LargeImage | Specifies button large image. The image is stored in the underlined command. If you change this property, all buttons with the same ID/CommandName will display this image.")> |
![]() | LargeImageMode | Button displays large image (usable for smart layout).")> |
![]() | LastInGroup | |
![]() | Location | Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its parent command panel. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | Locked | |
![]() | LowColorImage | |
![]() | Margin | Overridden. |
![]() | MaxAllowedCollapseState | Specifies the maximum collapsed state which can get a button. |
![]() | MenuImage | Specifies button default menu image. Set this property only if menu and toolbar image should have different sizes. |
![]() | MessageString | Text to be shown on Status Bar. |
![]() | MinAllowedCollapseState | |
![]() | Offset | |
![]() | ParentButton | |
![]() | ParentCommandBar | A reference to a command bar, which hosts the toolbar button. |
![]() | ParentPath | |
![]() | Popup | |
![]() | PopupMenuBar | |
![]() | Pressed | Gets a value indicating whether the state of the CommandObject is pressed. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | QuickCustomizeMode | |
![]() | QuickCustomizeToolbar | |
![]() | RarelyUsed | |
![]() | RelatedForms | |
![]() | ReplaceDefaultCommand | If the button is marked as 'CanExecuteDefaultCommand' its command entry can be replaced by last executed command. This flag controls whether the default command stays the same, or not.")> |
![]() | Selected | |
![]() | SerializeItemList | |
![]() | ShadowImage | |
![]() | ShortcutsCollection | Edit to assign shortcuts to commands. |
![]() | ShowImage | Overridden. Indicates a value whether the image should be displayed on the ToolbarButton. |
![]() | ShowMenuOnMouseMove | |
![]() | ShowText | Overridden. Indicates a value whether the text should be displayed on the ToolbarButton. |
![]() | ShowTooltipAlways | |
![]() | Site | (Inherited from System.ComponentModel.Component) |
![]() | SmartMode | |
![]() | Text | Overridden. Specifies button text. It can be different text for buttons assigned to one command. This property can be changed by user at runtime during customization. |
![]() | TextAlignment | |
![]() | TextImagePosition | Specifies the position of the image relative to text displayed on the command button. (Inherited from BCGSoft.Controls.Shared.CommandButton) |
![]() | ToolTipText | Button's tooltip text. |
![]() | TransparentColor | Transparent color of button images. |
![]() | UserData | |
![]() | Visible | Gets or sets a value indicating whether the command object is displayed. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | VisibleOnQuickCustomizeMenu | |
![]() | VisualState | Specifies how button's image and text are displayed when button is located on the toolbar, the menu bar, the popup menu bar and the popup palette. Reflects to the state displayed in customize mode. (Inherited from BCGSoft.Controls.Shared.CommandButton) |
![]() | VisualStyle | Overridden. |
![]() | Width | Overridden. |
![]() | Wrap | Overridden. |
Name | Description | |
---|---|---|
![]() | CanRaiseEvents | (Inherited from System.ComponentModel.Component) |
![]() | Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
![]() | AddShortcut | Called by the framework to associate any shortcut with this ToolbarButton. |
![]() | ButtonFromID | Called by framework to get any toolbar button by its identifier. If the identifier of this button is equal to the identifier from parameter, the current button will be returned, otherwise, null reference. |
![]() | CanDrop | Indicates a value whether the button can be dropped to the specified toolbar. |
![]() | CanGetFocus | Gets a value indicating whether the toolbar button can receive a focus. |
![]() | ChangeExecuteCommandHandler | |
![]() | ClearSelectionState | Override this function in the derived class to deselect this button and buttons located on its child popup menu. |
![]() | Clone | Creates a new object that is a copy of the current ToolBarButton object. |
![]() | ContainsPoint | Indicates a value whether the specified point is located within the boundaries on this toolbar button. |
![]() | CopyBaseHandlers | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | CopyFrom | Copies properties from the specified ToolBarButton to this button. |
![]() | CopyHandlers | Overloaded. Copies event handlers from the specified ToolBarButton to this button. |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) |
![]() | Dispose | Overloaded. Overridden. |
![]() | DrawButtonImage | Called by the framework to draw an image on the button surface. |
![]() | FillInterior | Fills the interior of the specified rectangle on button surface. |
![]() | Fire_ExecuteCommand | Raises an ExecuteCommand event. |
![]() | Fire_PropertyChanged | Raises PropertyChanged event which occurs when a property value changes. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | GetData | Overloaded. Creates a shallow copy of the current ToolBarButton if the specified name of the type is ToolBarButton, otherwise, a null reference. |
![]() | GetDataPresent | Overloaded. Determines whether this object has a type of the name "ToolBarButton". |
![]() | GetDefaultSize | Returns the default size of the button. The width of the button is equal to the column width of the toolbar and height depends on the location of the button image. Called by the framework to calculate the size of the button. |
![]() | GetFirstShortcut | Returns the first shortcut object from the user shortcuts' collection of the related CommandEntry. Called by the framework on drawing the shortcut on the tooltips and on the menu items. |
![]() | GetFormats | Overloaded. Gets a list of all formats that data stored in this instance is associated with or can be converted to, using a Boolean value to determine whether to retrieve all formats that the data can be converted to or only native data formats. Returns null reference. |
![]() | GetKeyTipRect | |
![]() | GetKeyTipRectSplit | |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | GetObjectData | Gets serialization information with all of the data needed to recreate an instance of this ToolBarButton. |
![]() | GetService | Overridden. Gets the service object of the specified type, if it is available. |
![]() | GetSubItems | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | GetTextSize | Overloaded. Called by the framework to calculate the size, in pixels, of the text to draw on the ToolBarButton. |
![]() | HasExecuteHandler | |
![]() | InitComplete | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | IsCustomizeMode | Specifies if the ToolBarButton is in the customize mode. The ToolBarButton has a customize mode if it has a parent command bar which is in the customize mode. |
![]() | IsDesignMode | Retrieves a value that indicates whether the toolbar is currently using the Microsoft Visual Studio .NET Editor |
![]() | IsDrawText | Specifies if the text should be drawn on the button surface. It should be drawn if the toolbar button is located on the popupmenu bar or the value of the property ShowText is true. |
![]() | IsDroppedDown | Specifies if the button has a submenu and this submenu is currently displayed. |
![]() | IsInsideResizeArea | Determines if the specified point is located inside the area which allows to resize a toolbar. |
![]() | IsItemCollectionVisible | In default implementation the function returns false. You can override this function in the derived class to indicate a value if the command object has a popup menu items' collection and this items are visible. In BCGControlBar.NET library this function is overridden in class ToolBarMenuButton to specify the visibility of the related popup menu. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | IsQuickCustomizeButton | Specifies if this ToolBarButton is a button of the type QuickCustomizeButton. By default, the returned value is false. In BCGSoft.Controlbar namespace this function is overridden in class QuickCustomizeButton to return true. |
![]() | IsSyncSource | |
![]() | ObjChecked | Gets a value indicating whether the ToolBarButton is in the checked state. |
![]() | ObjCommandID | Returns the command identifier of the ToolbarButton. |
![]() | ObjEnabled | Gets a value indicating whether the button is enabled. |
![]() | ObjText | Gets the text displayed on the toolbar button. |
![]() | OnCalculateSize | Overridden. Calculates the size of the toolbar button according to its default size and content. |
![]() | OnCancelMode | Override this function to cancel the current state of the button. |
![]() | OnCommandButtonExecuteCommand | Raises ExecuteCommand event, which occurs when the user clicks the toolbar button. Executes a set of commands related to this command button. |
![]() | OnDraw | Overridden. This function performs the actual drawing of the toolbar button |
![]() | OnDrawCustomizeSelection | Draws a rectangle border at the toolbar button in Customize mode. |
![]() | OnDrawDesign | Redraws the button in design mode. |
![]() | OnDrawInterior | Draws image, text, boundaries, highligting, etc. on the surface of the ToolbarButton. |
![]() | OnDrawOnCustomizeList | Overloaded. Called by the framework to draw the toolbar button in commands' list of the customize dialog box. |
![]() | OnDropOnPopupMenu | Specifies a ToolbarMenuButton which popup menu was opened. |
![]() | OnExecuteCommand | Raises ExecuteCommand event, which occurs when the user clicks the toolbar button. |
![]() | OnMouseDown | Overridden. Override this function in the derived class to raise the MouseDown event, which occurs when the mouse pointer is over the toolbar button and a mouse button is pressed. |
![]() | OnMouseMove | Override this function in the derived class to raise the MouseMove event, which occurs when the mouse pointer is moved over the toolbar button. |
![]() | OnMouseUp | Overridden. Override this function in the derived class to raise the MouseUp event, which occurs when the mouse pointer is over the toolbar button and a mouse button is released. |
![]() | OnSmartCalcSize | Calculates the size of the ToolBarButton accroding the specified ToolbarButtonCollapseState |
![]() | raise_DrawCommandObject | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | raise_ExecuteCommand | Raises ExecuteCommand event, which occurs when the user clicks the toolbar button. |
![]() | raise_ParentCommandBarChanged | |
![]() | raise_ParentCommandBarChanging | |
![]() | raise_PropertyChanged | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | raise_RedrawCommandObject | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | raise_UpdateCommandUI | Raises UpdateCommandUI event, that forces a refresh of the command UI state. |
![]() | Raise_UpdateCommandUI | Raises UpdateCommandUI event, that forces a refresh of the command UI state. |
![]() | raise_WidthChanging | |
![]() | Recreate |
Recreates the command bar from the specified ToolbarButton using serialization info.
|
![]() | Redraw | Overridden. Redraws an area on the parent command bar which equals to the boundaries of the toolbar button. |
![]() | RemoveExecuteCommandHandler | Removes an ExecuteCommand event handler from the toolbar button in design mode. |
![]() | ResetTextSize | |
![]() | SetCursor | Sets the current application's cursor to the specified point. |
![]() | SetCustomImage | Sets a specified custom image to the toolbar button. In BCGSoft.ControlBars namespace this function is called by the framework on creating a copy of the button. |
![]() | SetData | Overloaded. |
![]() | SetNextCollapsedState | Sets the nearest collapsed state of the ToolbarButton located on the Ribbon Control. |
![]() | SetRectangle | Overloaded. Sets the boundaries of the toolbar button. |
![]() | ShouldSerializeCmdBarManager | Specifies if the command bar manager associated with the parent toolbar should be serialized. |
![]() | ShouldSerializeColdImage | Specifies if the cold image associated with the button should be serialized. |
![]() | ShouldSerializeCustomImage | Specifies if the custom image associated with the button should be serialized. |
![]() | ShouldSerializeDisabledImage | Specifies if the disabled image associated with the button should be serialized. |
![]() | ShouldSerializeDisabledLargeImage | |
![]() | ShouldSerializeDisabledMenuImage | Specifies if the disabled menu image associated with the button should be serialized. |
![]() | ShouldSerializeHDPIColdImage | |
![]() | ShouldSerializeHDPIDisabledImage | |
![]() | ShouldSerializeHDPIDisabledLargeImage | |
![]() | ShouldSerializeHDPIDisabledMenuImage | |
![]() | ShouldSerializeHDPIHiColorImage | |
![]() | ShouldSerializeHDPILargeImage | |
![]() | ShouldSerializeHDPIMenuImage | |
![]() | ShouldSerializeHiColorImage | Specifies if the high color image associated with the button should be serialized. |
![]() | ShouldSerializeID | Specifies if the identifier associated with the button should be serialized. |
![]() | ShouldSerializeKeyTip | |
![]() | ShouldSerializeKeyTipSplit | |
![]() | ShouldSerializeLargeIconArea | |
![]() | ShouldSerializeLargeIconsDelimiterMode | |
![]() | ShouldSerializeLargeImage | |
![]() | ShouldSerializeLowColorImage | Specifies if the low color image associated with the button should be serialized. |
![]() | ShouldSerializeMenuImage | Specifies if the menu image associated with the button should be serialized. |
![]() | ShouldSerializeQuickCustomizeToolbar | Specifies if the quick customize toolbar associated with the button should be serialized. |
![]() | ShouldSerializeSelected | Specifies if the selection associated with the button should be serialized. |
![]() | ShouldSerializeVisualStyle | Specifies if the visual style of the button should be serialized. |
![]() | SyncronizeWith | Specifies that it is necessary to synchronize the state of any ISupportCmdUI object. |
![]() | ToString | Returns the parent path and command name of the command button. |
![]() | UpdateChecked | Called by the framework to update the check state of the toolbar button using ISupportCmdUI interface. |
![]() | UpdateEnabled | Called by the framework to update the enabled state of the toolbar button using ISupportCmdUI interface. |
![]() | UpdateParentPanel | Redraws a part of the parent panel. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | UpdateText | Called by the framework to update the text of the toolbar button using ISupportCmdUI interface. |
![]() | ValidateCommandName | Called by the framework on setting command name by user. Makes this command name corresponding the rules. |
Name | Description | |
---|---|---|
![]() | CalcImageOffset | |
![]() | CalcTextOffset | |
![]() | CloneFromSerializationInfo | |
![]() | DrawInternal | |
![]() | Finalize | (Inherited from System.ComponentModel.Component) |
![]() | FromSerializationInfo | |
![]() | GetCommandEntry | |
![]() | GetCommandManager | |
![]() | GetDisplayedImageRect | |
![]() | GetDisplayText | |
![]() | GetExtraWidth | |
![]() | HasHotBorder | |
![]() | Init | |
![]() | IsDrawArrow | |
![]() | MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) |
![]() | OnCommandBarManagerChanged | |
![]() | OnDrawCommandObject | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | OnDrawLargeModeText | |
![]() | OnFillDrawButtonDef | |
![]() | OnParentCommandBarChanged | |
![]() | OnParentCommandBarChanging | |
![]() | OnPropertyChanged | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | OnRedraw | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | OnVisualManagerChanged | |
![]() | OnWidthChanging |
Name | Description | |
---|---|---|
![]() | Disposed | (Inherited from System.ComponentModel.Component) |
![]() | DrawCommandObject | Occurs on redrawing of the command object. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | ExecuteCommand | Occurs when the user clicks the toolbar button. |
![]() | ParentCommandBarChanged | Occurs when the parent command bar is changed. |
![]() | ParentCommandBarChanging | Occurs when the parent command bar is about to change. |
![]() | PropertyChanged | Occurs when a property value changes. (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | RedrawCommandObject | (Inherited from BCGSoft.Controls.Shared.CommandObject) |
![]() | UpdateCommandUI | Occurs when the current command UI state is refreshed. |
![]() | WidthChanging | Occurs when the width of the toolbar button is about to change. |