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