Version

IsStillValid Property (HeadersRow)

True only if this row and all of its ancestor rows are still valid (read-only).
Syntax
'Declaration
 
Public Overrides ReadOnly Property IsStillValid As Boolean
public override bool IsStillValid {get;}
Example
If IsStillValid is false, then the row is invalid. More specifically, the UltraGrid has discarded the row and is not holding any reference to it. Following code implements a method that throws an exception if the passed in row is invalid.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub EnsureRowValid(ByVal row As UltraGridRow)

      If Not row.IsStillValid Then
          ' Throw an exception if the row is invalid.
          Throw New Exception("The row is invalid.")
      End If

  End Sub
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." );
	}

}
Requirements

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

See Also