Back to Devexpress

DockManager.TabsPositionChanged Event

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockmanager-0945bd46.md

latest3.0 KB
Original Source

DockManager.TabsPositionChanged Event

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

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Docking")]
public event TabsPositionChangedEventHandler TabsPositionChanged
vb
<DXCategory("Docking")>
Public Event TabsPositionChanged As TabsPositionChangedEventHandler

Event Data

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

PropertyDescription
OldTabsPositionGets the previous position of the tabs in a tab container.
PanelGets the processed dock panel. Inherited from DockPanelEventArgs.
TabsPositionGets 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

TabsPosition

TabsPositionChanged

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace