Description
Use the wValue
property to obtain or set the value held in the specified tree list cell.
Declaration
TestObj.wValue(Row, Column)
Read-Write Property | Variant |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Row | [in] | Required | Integer | |
Column | [in] | Required | Variant |
Applies To
The property is applied to the following objects:
Developer Express ExpressQuantumTreeList, Developer Express XtraTreeList, DevExpressQuantumTreeListView, DevExpressXtraTreeListView
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The property has the following parameters:
Row
Specifies the row (by its index) that contains the cell whose value you want to obtain or set. The index is zero-based, that is, the first row has index 0, the second - 1, and so on. The index of the last row is wRowCount
-1.
Column
Specifies the column that contains the cell whose value you want to obtain or set.
The index is zero-based and corresponds to the column’s position within the object's internal columns collection rather than the column’s visible position in the object.
The caption can contain asterisk (*) or question mark (?) wildcards or regular expressions. The asterisk corresponds to a string of any length, the question mark corresponds to any single character. To specify more complicated parts of a caption, use regular expressions.
The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.
Property Value
A variant that represents the cell’s contents. If the specified cell is not found, wValue
returns the null value (Nothing
in VBScript, nil
in DelphiScript, None
in Python, null
in JavaScript, JScript, C++Script and C#Script) and posts an error message to the test log.
Remarks
You can use wValue
property along with wRowCount
and wColumnCount
property to iterate through tree view cells.