Action
Expand an item in a .NET property grid control.
Syntax
Expand (sPropName)
Variable
|
Description
|
sPropName
|
The item to expand.
STRING.
|
Notes
Expand expands the specified property grid item if it is currently collapsed (that is, has no visible children).
- If the item has an expand/collapse box (typically a + or - sign),
Silk Test Classic expands the item by clicking on this box.
- Otherwise, if the property grid supports the use of double-click to expand and collapse items,
Silk Test Classic double-clicks on the item.
- If neither approach is supported by the control, or if the specified item is not collapsible (that is, has no children), an error is raised.
Example
PropertyGridSample.PropertyGrid.Expand("Accessibility")
// where "Accessibility" is an item that can be expanded or collapsed in the
property grid