RibbonControl Events

Allows you to create a Ribbon toolbar with commands grouped into categories, pages and page groups. See Ribbon.
Name Description
AfterApplicationButtonContentControlHidden Fires after the dropdown control associated with the Application Button is hidden.
ApplicationButtonClick Occurs when the Application Button is clicked.
ApplicationButtonDoubleClick Fires when the Application Button is double-clicked.
AutoSizeChanged This event is not relevant for this class. Inherited from Control.
BackColorChanged Occurs when the value of the BackColor property changes. Inherited from Control.
BackgroundImageChanged Occurs when the value of the BackgroundImage property changes. Inherited from Control.
BackgroundImageLayoutChanged Occurs when the BackgroundImageLayout property changes. Inherited from Control.
BeforeApplicationButtonContentControlShow Fires when the Application Button's associated control (RibbonControl.ApplicationButtonDropDownControl) is about to be displayed.
BeforeLoadLayout Fires before a layout is restored from a storage (a stream, xml file, or the system registry).
BeforeUnMerge Raises before this RibbonControl is unmerged and allows you to react to this upcoming change.
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from Control.
CausesValidationChanged Occurs when the value of the CausesValidation property changes. Inherited from Control.
ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change. Inherited from Control.
Click Occurs when the control is clicked. Inherited from Control.
ClientSizeChanged Occurs when the value of the ClientSize property changes. Inherited from Control.
ColorSchemeChanged Fires when the RibbonControl.ColorScheme property's value is changed.
CommandLayoutChanged Fires when the RibbonControl.CommandLayout property value changes.
ContextMenuChanged Occurs when the value of the ContextMenu property changes. Inherited from Control.
ContextMenuStripChanged Occurs when the value of the ContextMenuStrip property changes. Inherited from Control.
ControlAdded Occurs when a new control is added to the Control.ControlCollection. Inherited from Control.
ControlRemoved Occurs when a control is removed from the Control.ControlCollection. Inherited from Control.
CursorChanged Occurs when the value of the Cursor property changes. Inherited from Control.
CustomDrawItem Allows you to manually paint any BarButtonItemLink within this RibbonControl.
CustomizationFormShowing Fires when the Customization Form is about to be displayed and allows you to customize the form.
CustomizeQatMenu Fires when the Quick Access Toolbar customization menu is about to be displayed, allowing commands in the menu to be customized.
CustomizeSearchMenu Fires when the query in the search box changes, and allows you to customize search results.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DockChanged Occurs when the value of the Dock property changes. Inherited from Control.
DoubleClick Occurs when the control is double-clicked. Inherited from Control.
DpiChangedAfterParent Occurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed. Inherited from Control.
DpiChangedBeforeParent Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred. Inherited from Control.
DragDrop Occurs when a drag-and-drop operation is completed. Inherited from Control.
DragEnter Occurs when an object is dragged into the control's bounds. Inherited from Control.
DragLeave Occurs when an object is dragged out of the control's bounds. Inherited from Control.
DragOver Occurs when an object is dragged over the control's bounds. Inherited from Control.
EnabledChanged Occurs when the Enabled property value has changed. Inherited from Control.
Enter Occurs when the control is entered. Inherited from Control.
FontChanged Occurs when the Font property value changes. Inherited from Control.
ForeColorChanged Occurs when the ForeColor property value changes. Inherited from Control.
GiveFeedback Occurs during a drag operation. Inherited from Control.
GotFocus Occurs when the control receives focus. Inherited from Control.
HandleCreated Occurs when a handle is created for the control. Inherited from Control.
HandleDestroyed Occurs when the control's handle is in the process of being destroyed. Inherited from Control.
HelpRequested Occurs when the user requests help for a control. Inherited from Control.
HyperlinkClick Occurs when a hyperlink within the current RibbonControl is clicked.
ImeModeChanged Occurs when the ImeMode property has changed. Inherited from Control.
Invalidated Occurs when a control's display requires redrawing. Inherited from Control.
InvalidSaveRestoreLayoutException Fires whenever saving or loading a RibbonControl's layout fails.
ItemClick Fires when a link within the Ribbon Control is clicked.
ItemPress Fires after a links has been pressed.
KeyDown Occurs when a key is pressed while the control has focus. Inherited from Control.
KeyPress Occurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control.
KeyUp Occurs when a key is released while the control has focus. Inherited from Control.
Layout Occurs when a control should reposition its child controls. Inherited from Control.
LayoutUpgrade Fires when a layout is restored from a storage (a stream, xml file, or system registry).
Leave Occurs when the input focus leaves the control. Inherited from Control.
LocationChanged Occurs when the Location property value has changed. Inherited from Control.
LostFocus Occurs when the control loses focus. Inherited from Control.
MarginChanged Occurs when the control's margin changes. Inherited from Control.
Merge Allows you to perform additional customizations after another Ribbon Control has been merged into the current RibbonControl.
MinimizedChanged Allows you to respond to minimizing/restoring the RibbonControl's pages.
MinimizedRibbonHiding Provides access to the collapsed ribbon that has been displayed in a pop-up and is about to be hidden.
MinimizedRibbonShowing Provides access to the collapsed ribbon that is about to be displayed in a pop-up.
MouseCaptureChanged Occurs when the control loses mouse capture. Inherited from Control.
MouseClick Occurs when the control is clicked by the mouse. Inherited from Control.
MouseDoubleClick Occurs when the control is double clicked by the mouse. Inherited from Control.
MouseDown Occurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control.
MouseEnter Occurs when the mouse pointer enters the control. Inherited from Control.
MouseHover Occurs when the mouse pointer rests on the control. Inherited from Control.
MouseLeave Occurs when the mouse pointer leaves the control. Inherited from Control.
MouseMove Occurs when the mouse pointer is moved over the control. Inherited from Control.
MouseUp Occurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control.
MouseWheel Occurs when the mouse wheel moves while the control has focus. Inherited from Control.
Move Occurs when the control is moved. Inherited from Control.
PaddingChanged Occurs when the control's padding changes. Inherited from Control.
PageCategoryClick Occurs when a user clicks a category caption. This event is not raised when any other element that belongs to this category (e.g., a page header, a page group, an bar item) is clicked.
PageGroupCaptionButtonClick Enables you to perform actions when end-users click group caption buttons.
Paint Occurs when the control is redrawn. Inherited from Control.
ParentChanged Occurs when the Parent property value changes. Inherited from Control.
PreviewKeyDown Occurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
QueryAccessibilityHelp Occurs when AccessibleObject is providing help to accessibility applications. Inherited from Control.
QueryContinueDrag Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control.
RegionChanged Occurs when the value of the Region property changes. Inherited from Control.
ResetLayout Occurs when the current RibbonControl's control is being reset to defaults.
Resize Occurs when the control is resized. Inherited from Control.
RibbonStyleChanged Occurs each time the current RibbonControl's RibbonControl.RibbonStyle property value is changed.
RightToLeftChanged Occurs when the RightToLeft property value changes. Inherited from Control.
ScreenModeChanged Fires when the RibbonControl.FullScreen property value changes.
SelectedPageChanged Fires after the selected page has been changed.
SelectedPageChanging Fires before a specific Ribbon Page is activated.
ShowCustomizationMenu Occurs before the RibbonControl's Customization Menu is displayed.
SizeChanged Occurs when the Size property value changes. Inherited from Control.
StyleChanged Occurs when the control style changes. Inherited from Control.
SystemColorsChanged Occurs when the system colors change. Inherited from Control.
TabIndexChanged Occurs when the TabIndex property value changes. Inherited from Control.
TabStopChanged Occurs when the TabStop property value changes. Inherited from Control.
TextChanged Occurs when the Text property value changes. Inherited from Control.
ToolbarLocationChanged Fires after the value of the RibbonControl.ToolbarLocation property has been changed.
UnMerge Allows you to perform additional customizations after another Ribbon Control has been unmerged from the current RibbonControl.
Validated Occurs when the control is finished validating. Inherited from Control.
Validating Occurs when the control is validating. Inherited from Control.
VisibleChanged Occurs when the Visible property value changes. Inherited from Control.
See Also