'宣言 Public Event AfterSplitterDrag As PanesEventHandler
public event PanesEventHandler AfterSplitterDrag
イベント ハンドラが、このイベントに関連するデータを含む、PanesEventArgs 型の引数を受け取りました。次の PanesEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
Panes | イベントに関連付けられたDockablePaneBaseインスタンスを返します。このプロパティは読み取り専用です。 |
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]) ); }