'Declaration Public Event RowSelected As RowSelectedEventHandler
public event RowSelectedEventHandler RowSelected
The event handler receives an argument of type RowSelectedEventArgs containing data related to this event. The following RowSelectedEventArgs properties provide information specific to this event.
This event should not be used. To trap when a a new row in the UltraDropDown in a grid is selected, use the UltraGrid.CellListSelect event of the UltraGrid.
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