SelectedRow Property

See Also      Applies To       Specifics

 

Gets or sets a value that determines the currently selected (active) row in the data grid

 

Syntax

[Visual Basic]
Public Property SelectedRow As Long

[C#]
public int SelectedRow {get; set;}

 

The SelectedRow property syntax has these parts:

 

Part

Description

int

Row index (int32) ranging from 1 to current row count. Value of 0 means that none of the rows is selected.

 

 

 

Remarks

 

The value of the SelectedRow is always 0 if the grid is empty or none of the rows are selected. This property will always return the first selected row (from top) when multiple rows have been selected.

 

Requirements

    Assembly: OSIsoft.PISDK.Controls.PIArchiveEditor (in OSIsoft.PISDK.Controls.PIArchiveEditor .dll)

 

 


Enabling Operational Intelligence