Interface IXtraGrid
A DevExpress XtraGrid object.
public interface IXtraGrid : ICustomGrid
- Inherited Members
Properties
ColumnCount
Returns the number of columns in the current view.
int ColumnCount { get; }
Property Value
RowCount
Returns the number of rows in the current view.
int RowCount { get; }
Property Value
Methods
ActivateCell(int, string)
Double-clicks the specified cell in this grid.
void ActivateCell(int row, string columnHeader)
Parameters
ActivateColumn(int)
Double-clicks the specified column header in this grid.
void ActivateColumn(int column)
Parameters
columnint0-based column index.
ActivateColumn(string)
Double-clicks the specified column header in this grid.
void ActivateColumn(string columnHeader)
Parameters
columnHeaderstringThe column caption.
GetCell(int, int)
Returns a cell in the grid.
ITableCell GetCell(int row, int column)
Parameters
Returns
GetCell(int, string)
Returns a cell in the grid.
ITableCell GetCell(int row, string columnHeader)
Parameters
Returns
GroupRows(int)
Groups table rows according to the specified column.
void GroupRows(int column)
Parameters
columnint0-based column index.
GroupRows(string)
Groups table rows according to the specified column.
void GroupRows(string columnHeader)
Parameters
columnHeaderstringThe column caption.
MakeCellVisible(int, string)
Scrolls the specified cell into view.
void MakeCellVisible(int row, string columnHeader)
Parameters
SelectCell(int, string)
Selects the specified cell in this grid.
void SelectCell(int row, string columnHeader)
Parameters
SelectColumn(int)
Clicks the specified column header in this grid.
void SelectColumn(int column)
Parameters
columnint0-based column index.
SelectColumn(string)
Clicks the specified column header in this grid.
void SelectColumn(string columnHeader)
Parameters
columnHeaderstringThe column caption.
SetFilter(int, string)
Applies the specified filter string to the specified column.
void SetFilter(int column, string filter)
Parameters
SetFilter(string, string)
Applies the specified filter string to the specified column.
void SetFilter(string columnHeader, string filter)
Parameters
columnHeaderstringThe column caption.
filterstringA value in the column to be used as the filter.
SetView(params Tuple<int, string>[])
Expands the parent rows of the specified view and makes it the current view.
void SetView(params Tuple<int, string>[] viewPath)
Parameters
viewPathTuple<int, string>[]The hierarchical path of the view you want to display expressed using Tuples in the format: (0-based row number, relation name)
Remarks
A SetView statement without parameters must be used before the first operation on an XtraGrid table. If your test contains steps on more than one XtraGrid table, ensure that you add a SetView without parameters statement before the first step on each grid.
Sort(int)
Sorts this table by the specified column, ascending.
void Sort(int column)
Parameters
columnint0-based column index.
Sort(string)
Sorts this table by the specified column, ascending.
void Sort(string columnHeader)
Parameters
columnHeaderstringThe column caption.
SortDescending(int)
Sorts this table by the specified column, descending.
void SortDescending(int column)
Parameters
columnint0-based column index.
SortDescending(string)
Sorts this table by the specified column, descending.
void SortDescending(string columnHeader)
Parameters
columnHeaderstringThe column caption.
UngroupRows(int)
Ungroups table rows according to the specified column.
void UngroupRows(int column)
Parameters
columnint0-based column index.
UngroupRows(string)
Ungroups table rows according to the specified column.
void UngroupRows(string columnHeader)
Parameters
columnHeaderstringThe column caption.