'Declaration Public Class DropDownEventArgs Inherits System.EventArgs
public class DropDownEventArgs : System.EventArgs
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub UltraDropDown1_AfterDropDown(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.DropDownEventArgs) Handles ultraDropDown1.AfterDropDown ' AfterDropDown gets when the drop down is droppedn down. Debug.WriteLine("UltraDropDown is dropped down.") ' Write out the name of the owner control where the drop down is being dropped down in. ' An UltraDropDown may be assigned to multiple UltraGrids. The Owner indicates which ' owner the UltraDropDown is currently activated and is dropping down 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_AfterDropDown(object sender, Infragistics.Win.UltraWinGrid.DropDownEventArgs e) { // AfterDropDown gets when the drop down is droppedn down. Debug.WriteLine( "UltraDropDown is dropped down." ); // Write out the name of the owner control where the drop down is being dropped down in. // An UltraDropDown may be assigned to multiple UltraGrids. The Owner indicates which // owner the UltraDropDown is currently activated and is dropping down 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