using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;
private void EnsureRowValid( UltraGridRow row )
{
if ( !row.IsStillValid )
{
// Throw an exception if the row is invalid.
throw new Exception( "The row is invalid." );
}
}