Table of Contents

Interface IDataGridView

A .NET Windows Forms data grid view object.

Inherited Members
ICustomGrid.TableTestObject
Namespace: HP.LFT.SDK.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface IDataGridView : ICustomGrid

Properties

Rows

Returns the rows.

Declaration
ReadOnlyCollection<ITableRow<ITableCell>> Rows { get; }
Property Value
Type Description
ReadOnlyCollection<ITableRow<ITableCell>>

Methods

ActivateCell(int, string)

Double-clicks the specified cell in this grid.

Declaration
void ActivateCell(int row, string columnHeader)
Parameters
Type Name Description
int row

0-based row number.

string columnHeader

The column caption.

ActivateColumn(int)

Double-clicks the specified column header in this grid.

Declaration
void ActivateColumn(int column)
Parameters
Type Name Description
int column

0-based column index.

ActivateColumn(string)

Double-clicks the specified column header in this grid.

Declaration
void ActivateColumn(string columnHeader)
Parameters
Type Name Description
string columnHeader

The column caption.

GetCell(int, string)

Returns a cell in the grid.

Declaration
ITableCell GetCell(int row, string columnHeader)
Parameters
Type Name Description
int row

0-based row number.

string columnHeader

The column caption.

Returns
Type Description
ITableCell

MakeCellVisible(int, string)

Scrolls the specified cell into view.

Declaration
void MakeCellVisible(int row, string columnHeader)
Parameters
Type Name Description
int row

0-based row number.

string columnHeader

The column caption.

SelectCell(int, string)

Selects the specified cell in this grid.

Declaration
void SelectCell(int row, string columnHeader)
Parameters
Type Name Description
int row

0-based row number.

string columnHeader

The column caption.

SelectColumn(int)

Selects (clicks) the specified column header in this grid.

Declaration
void SelectColumn(int column)
Parameters
Type Name Description
int column

0-based column index.

SelectColumn(string)

Clicks the specified column header in this grid.

Declaration
void SelectColumn(string columnHeader)
Parameters
Type Name Description
string columnHeader

The column caption.