'宣言 Public ReadOnly Property Panes As DockablePaneBase()
public DockablePaneBase[] Panes {get;}
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinDock Private Sub ultraDockManager1_AfterSplitterDrag(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDock.PanesEventArgs) Handles ultraDockManager1.AfterSplitterDrag ' AfterSplitterDrag fires after the splitter bar adjacent to a ' DockAreaPane, between two panes in a horizontal or vertical ' split group, or adjacent to a control pane in a ' flyout window is released. If (e.Panes.Length = 1) Then Debug.Write(String.Format("After Splitter Drag: '{0}'", e.Panes(0).ToString())) ElseIf (e.Panes.Length = 2) Then Debug.Write(String.Format("The splitter between '{0}' and '{1}' has been repositioned.", e.Panes(0), e.Panes(1))) End If End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinDock; using System.Diagnostics; private void ultraDockManager1_AfterSplitterDrag(object sender, Infragistics.Win.UltraWinDock.PanesEventArgs e) { // AfterSplitterDrag fires after the splitter bar adjacent to a // DockAreaPane, between two panes in a horizontal or vertical // split group, or adjacent to a control pane in a // flyout window is released. if (e.Panes.Length == 1) Debug.Write( string.Format("After Splitter Drag: '{0}'", e.Panes[0].ToString()) ); else if (e.Panes.Length == 2) Debug.Write( string.Format("The splitter between '{0}' and '{1}' has been repositioned.", e.Panes[0], e.Panes[1]) ); }