'Declaration Public ReadOnly Property Row As UltraGridRow
public UltraGridRow Row {get;}
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub UltraDropDown1_RowSelected(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.RowSelectedEventArgs) Handles ultraDropDown1.RowSelected ' RowSelected gets fired whenever a different row is selected in the UltraDropDown. ' e.Row would be null if a row was unselected and no new row has been selected. If Not Nothing Is e.Row Then Debug.WriteLine("RowSelected: New row has been selected. ProductID = " & e.Row.Cells("ProductID").Value.ToString()) Else Debug.WriteLine("RowSelected: No row is selected currently.") End If End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraDropDown1_RowSelected(object sender, Infragistics.Win.UltraWinGrid.RowSelectedEventArgs e) { // RowSelected gets fired whenever a different row is selected in the UltraDropDown. // e.Row would be null if a row was unselected and no new row has been selected. if ( null != e.Row ) Debug.WriteLine( "RowSelected: New row has been selected. ProductID = " + e.Row.Cells["ProductID"].Value.ToString( ) ); else Debug.WriteLine( "RowSelected: No row is selected currently." ); }
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