Version

Activate Method (UltraGridRow)

Activates row. Returns true if the operation was cancelled.
Syntax
'Declaration
 
Public Function Activate() As Boolean
public bool Activate()

Return Value

Retruns false if successful and true otherwise.
Example
Following code shows several ways to make a row an active row.

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

  Private Sub Button61_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button61.Click

      Dim row As UltraGridRow = Me.ultraGrid1.Rows(1)

      ' You can make a row the active row by setting the ActiveRow property off the
      ' UltraGrid
      Me.ultraGrid1.ActiveRow = row

      ' Or by calling Activate method off the UltraGridRow
      row.Activate()

      ' Or by setting the Activated property off the UltraGridRow to true.
      row.Activated = True

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button61_Click(object sender, System.EventArgs e)
{			

	UltraGridRow row = this.ultraGrid1.Rows[1];

	// You can make a row the active row by setting the ActiveRow property off the
	// UltraGrid
	this.ultraGrid1.ActiveRow = row;

	// Or by calling Activate method off the UltraGridRow
	row.Activate( );

	// Or by setting the Activated property off the UltraGridRow to true.
	row.Activated = true;

}
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