'Declaration Public Event AfterCloseUp As DropDownEventHandler
public event DropDownEventHandler AfterCloseUp
The event handler receives an argument of type DropDownEventArgs containing data related to this event. The following DropDownEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Owner | owner |
This event should not be used. To trap when a an UltraDropDown in a grid has closed, use the UltraGrid.AfterCellListCloseUp event of the UltraGrid.
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub UltraDropDown1_AfterCloseUp(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.DropDownEventArgs) Handles ultraDropDown1.AfterCloseUp ' AfterCloseUp gets fired after the drop down has closed up. Debug.WriteLine("UltraDropDown is closed up.") ' Write out the name of the owner control where the drop down is being closed up in. ' An UltraDropDown may be assigned to multiple UltraGrids. The Owner indicates which ' owner the UltraDropDown is currently activated and is closing up in. If Not e.Owner Is Nothing Then Debug.WriteLine("Owner is " & e.Owner.Name) Else Debug.WriteLine("Owner is Nothing") End If End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraDropDown1_AfterCloseUp(object sender, Infragistics.Win.UltraWinGrid.DropDownEventArgs e) { // AfterCloseUp gets fired after the drop down has closed up. Debug.WriteLine( "UltraDropDown is closed up." ); // Write out the name of the owner control where the drop down is being closed up in. // An UltraDropDown may be assigned to multiple UltraGrids. The Owner indicates which // owner the UltraDropDown is currently activated and is closing up in. if ( null != e.Owner ) { Debug.WriteLine( "Owner is " + e.Owner.Name ); } else { Debug.WriteLine( "Owner is null" ); } }
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