Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockManager.TabsPositionChanged Event

Fires after a dock panel’s DockPanel.TabsPosition property has been changed.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Docking")]
public event TabsPositionChangedEventHandler TabsPositionChanged

#Event Data

The TabsPositionChanged event's data class is TabsPositionChangedEventArgs. The following properties provide information specific to this event:

Property Description
OldTabsPosition Gets the previous position of the tabs in a tab container.
Panel Gets the processed dock panel. Inherited from DockPanelEventArgs.
TabsPosition Gets the current position of the tabs in a tab container.

#Remarks

When a panel is docked to another panel and a tab container is created as a result, the position of the tabs in the tab container is specified by the DockPanel.TabsPosition property of the panel to which the other panel is docked. Changing this property’s value for any dock panel owned by the dock manager raises the TabsPositionChanged event.

The event parameter’s DockPanelEventArgs.Panel property identifies the processed dock panel. To determine the previous and current position of the tabs use the TabsPositionChangedEventArgs.OldTabsPosition and TabsPositionChangedEventArgs.TabsPosition properties, respectively.

See Also