'Declaration Public Event SplitterDragged As MdiTabGroupEventHandler
public event MdiTabGroupEventHandler SplitterDragged
The event handler receives an argument of type MdiTabGroupEventArgs containing data related to this event. The following MdiTabGroupEventArgs properties provide information specific to this event.
Property | Description |
---|---|
TabGroup | Returns the associated MdiTabGroup |
All MdiTabGroup objects in the TabGroups collection have a splitter bar except the last one. The splitter bar is used by the end user to modify the Extent of a tab group. When the user presses the logical left mouse button on the splitter bar, the SplitterDragging event is invoked to determine whether to allow the splitter bar to be repositioned. If the event is not cancelled, the user may move the splitter bar. Once the splitter bar is released, the Extent is updated (as well as that of the adjacent tab group) and the SplitterDragged event is invoked.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinTabs Imports Infragistics.Win.UltraWinTabbedMdi Private Sub ultraTabbedMdiManager1_SplitterDragged(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTabbedMdi.MdiTabGroupEventArgs) Handles ultraTabbedMdiManager1.SplitterDragged ' The 'SplitterDragged' event occurs after the drag operation ' for the splitter bar is completed. If the splitter bar ' was moved, the MdiTabGroup and adjacent tab group would have ' already been resized. ' ' The 'TabGroup' parameter returns the MdiTabGroup ' object whose splitter bar was moved. ' Dim msg As String = String.Format("SplitterDragged: Moved bar of {0}", e.TabGroup) System.Diagnostics.Debug.WriteLine(msg) End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinTabs; using Infragistics.Win.UltraWinTabbedMdi; private void ultraTabbedMdiManager1_SplitterDragged(object sender, Infragistics.Win.UltraWinTabbedMdi.MdiTabGroupEventArgs e) { // The 'SplitterDragged' event occurs after the drag operation // for the splitter bar is completed. If the splitter bar // was moved, the MdiTabGroup and adjacent tab group would have // already been resized. // // The 'TabGroup' parameter returns the MdiTabGroup // object whose splitter bar was moved. // string msg = string.Format("SplitterDragged: Moved bar of {0}", e.TabGroup); System.Diagnostics.Debug.WriteLine(msg); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2