'Declaration Protected Overridable Sub OnRowSelected( _ ByVal e As RowSelectedEventArgs _ )
protected virtual void OnRowSelected( RowSelectedEventArgs e )
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub UltraCombo1_RowSelected(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.RowSelectedEventArgs) Handles ultraCombo1.RowSelected ' RowSelected gets fired when the user selects an item from the drop down. ' Value property of the UltraCombo gets updated. You can also access the row ' that was selected by accessing the Row property off the passed in event args. Debug.WriteLine("RowSelected: " & "UltraCombo's new value is " & Me.ultraCombo1.Value.ToString()) Debug.WriteLine("RowSelected: " & "New row is selected with the ProductID of " & e.Row.Cells("ProductID").Value.ToString()) End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void ultraCombo1_RowSelected(object sender, Infragistics.Win.UltraWinGrid.RowSelectedEventArgs e) { // RowSelected gets fired when the user selects an item from the drop down. // Value property of the UltraCombo gets updated. You can also access the row // that was selected by accessing the Row property off the passed in event args. Debug.WriteLine( "RowSelected: " + "UltraCombo's new value is " + this.ultraCombo1.Value.ToString( ) ); Debug.WriteLine( "RowSelected: " + "New row is selected with the ProductID of " + e.Row.Cells["ProductID"].Value.ToString( ) ); }
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