Method SetTestItemsWithColumns
SetTestItemsWithColumns(StdTreeView, int)
Adds a specified number of test items to the provided tree view and initializes two columns, 'Name' and 'Data', for each item.
public static void SetTestItemsWithColumns(StdTreeView owner, int count)
Parameters
ownerStdTreeViewThe tree view control that manages the columns and items to which test items will be added.
countintThe number of test items to create and add to the tree view.
Remarks
This method clears any existing columns in the tree view and creates two new columns: 'Name' and 'Data'. Each test item is assigned a unique identifier and may include child items. Updates to the tree view are batched for improved performance.