Version

AfterHideFlyout Event

Occurs when an unpinned DockableControlPane is hidden.
Syntax
'Declaration
 
Public Event AfterHideFlyout As ControlPaneEventHandler
public event ControlPaneEventHandler AfterHideFlyout
Event Data

The event handler receives an argument of type ControlPaneEventArgs containing data related to this event. The following ControlPaneEventArgs properties provide information specific to this event.

PropertyDescription
Pane DockableControlPane instance associated with the event. This property is read-only.
Example
The following code listens to the AfterHideFlyout event to log when the flyout/autohide window is hidden.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock

Private Sub ultraDockManager1_AfterHideFlyout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDock.ControlPaneEventArgs) Handles ultraDockManager1.AfterHideFlyout

    ' AfterHideFlyout fires when the autohide/flyout window is closed
    '

    ' Log which pane was contained in the flyout when it is hidden
    Debug.WriteLine(String.Format("After Hide Flyout: '{0}'", e.Pane.ToString()))

End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;
using System.Diagnostics;

private void ultraDockManager1_AfterHideFlyout(object sender, Infragistics.Win.UltraWinDock.ControlPaneEventArgs e)
{

	// AfterHideFlyout fires when the autohide/flyout window is closed
	//

	// Log which pane was contained in the flyout when it is hidden
	Debug.WriteLine( string.Format("After Hide Flyout: '{0}'", e.Pane.ToString()) );

}
Requirements

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

See Also