Back to Devexpress

OfficeNavigationBar Events

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-dot-underscore-events.md

latest26.4 KB
Original Source

OfficeNavigationBar Events

The MS Outlook-inspired navigation bar that supports integration with the NavBarControl.

NameDescription
AutoSizeChangedThis event is not relevant for this class. Inherited from Control.
BackColorChangedOccurs when the value of the BackColor property changes. Inherited from Control.
BackgroundImageChangedOccurs when the value of the BackgroundImage property changes. Inherited from Control.
BackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes. Inherited from Control.
BindingContextChangedOccurs when the value of the BindingContext property changes. Inherited from Control.
CausesValidationChangedOccurs when the value of the CausesValidation property changes. Inherited from Control.
ChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change. Inherited from Control.
ClickOccurs when the control is clicked. Inherited from Control.
ClientSizeChangedOccurs when the value of the ClientSize property changes. Inherited from Control.
CompactChangedOccurs when the OfficeNavigationBar.Compact property changes its value.
ContextMenuChangedOccurs when the value of the ContextMenu property changes. Inherited from Control.
ContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes. Inherited from Control.
ControlAddedOccurs when a new control is added to the Control.ControlCollection. Inherited from Control.
ControlRemovedOccurs when a control is removed from the Control.ControlCollection. Inherited from Control.
CursorChangedOccurs when the value of the Cursor property changes. Inherited from Control.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DockChangedOccurs when the value of the Dock property changes. Inherited from Control.
DoubleClickOccurs when the control is double-clicked. Inherited from Control.
DragDropOccurs when a drag-and-drop operation is completed. Inherited from Control.
DragEnterOccurs when an object is dragged into the control’s bounds. Inherited from Control.
DragLeaveOccurs when an object is dragged out of the control’s bounds. Inherited from Control.
DragOverOccurs when an object is dragged over the control’s bounds. Inherited from Control.
EnabledChangedOccurs when the Enabled property value has changed. Inherited from Control.
EnterOccurs when the control is entered. Inherited from Control.
FontChangedOccurs when the Font property value changes. Inherited from Control.
ForeColorChangedOccurs when the ForeColor property value changes. Inherited from Control.
GiveFeedbackOccurs during a drag operation. Inherited from Control.
GotFocusOccurs when the control receives focus. Inherited from Control.
HandleCreatedOccurs when a handle is created for the control. Inherited from Control.
HandleDestroyedOccurs when the control’s handle is in the process of being destroyed. Inherited from Control.
HelpRequestedOccurs when the user requests help for a control. Inherited from Control.
ImeModeChangedOccurs when the ImeMode property has changed. Inherited from Control.
InvalidatedOccurs when a control’s display requires redrawing. Inherited from Control.
ItemClickFires when an item is clicked.
KeyDownOccurs when a key is pressed while the control has focus. Inherited from Control.
KeyPressOccurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control.
KeyUpOccurs when a key is released while the control has focus. Inherited from Control.
LayoutOccurs when a control should reposition its child controls. Inherited from Control.
LeaveOccurs when the input focus leaves the control. Inherited from Control.
LocationChangedOccurs when the Location property value has changed. Inherited from Control.
LostFocusOccurs when the control loses focus. Inherited from Control.
MarginChangedOccurs when the control’s margin changes. Inherited from Control.
MouseCaptureChangedOccurs when the control loses mouse capture. Inherited from Control.
MouseClickOccurs when the control is clicked by the mouse. Inherited from Control.
MouseDoubleClickOccurs when the control is double clicked by the mouse. Inherited from Control.
MouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control.
MouseEnterOccurs when the mouse pointer enters the control. Inherited from Control.
MouseHoverOccurs when the mouse pointer rests on the control. Inherited from Control.
MouseLeaveOccurs when the mouse pointer leaves the control. Inherited from Control.
MouseMoveOccurs when the mouse pointer is moved over the control. Inherited from Control.
MouseUpOccurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control.
MouseWheelOccurs when the mouse wheel moves while the control has focus. Inherited from Control.
MoveOccurs when the control is moved. Inherited from Control.
PaddingChangedOccurs when the control’s padding changes. Inherited from Control.
PaintOccurs when the control is redrawn. Inherited from Control.
ParentChangedOccurs when the Parent property value changes. Inherited from Control.
PeekFormButtonClickFires when a button within the Peek Form’s built-in button panel is clicked.
PeekFormHiddenFires when the Peek Form is hidden.
PeekFormShownFires after the Peek Form is displayed.
PopupMenuShowingAllows you to customize a context menu for OfficeNavigationBar elements.
PreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control.
QueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications. Inherited from Control.
QueryContinueDragOccurs 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.
QueryPeekFormContentAllows you to provide a content for the Peek Form.
RegionChangedOccurs when the value of the Region property changes. Inherited from Control.
RegisterItem

Fires when an item is automatically added that corresponds to an element in the element source provided by the OfficeNavigationBar.NavigationClient. This event allows you to customize these automatically created items.

| | Resize | Occurs when the control is resized. Inherited from Control. | | RightToLeftChanged | Occurs when the RightToLeft property value changes. Inherited from Control. | | SelectedItemChanged | Fires after the item is selected. | | SelectedItemChanging | Allows you to prevent an item from being selected. | | SizeChanged | Occurs when the Size property value changes. Inherited from Control. | | StyleChanged | Occurs when the control style changes. Inherited from Control. | | SynchronizeNavigationClientSelectedItem | Allows you to implement your own custom relation between items of this OfficeNavigationBar and items of the child NavBarControl managed by this OfficeNavigationBar. | | 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. | | UnregisterItem |

Fires when removing an item that was automatically created when the OfficeNavigationBar.NavigationClient property was set to an INavigationBarClient object.

| | 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

OfficeNavigationBar Class

OfficeNavigationBar Members

DevExpress.XtraBars.Navigation Namespace