TreeView DataWindow samples
374 DataWindow .NET
Data Explorer
TreeView
DataWindow
Here is the TreeView DataWindow used in the Data Explorer.
One TreeView DataWindow
The Data Explorer uses one TreeView DataWindow, but DataWindows that are
not TreeView DataWindows also support the Data Explorer’s functionality.
Data Explorer code
The code in the Clicked event uses GetBandAtPointer to determine which
DataWindow to display. Clicking on some editable items in the detail
DataWindow opens a window in which you can manipulate the data.
The PopMenu menu object has two menu items that call the
CollapseAll and
ExpandAll methods to collapse or expand all the nodes in the TreeView.