The TreeNode.ExpandAll method expands all the child tree nodes assigned to the TreeNode.Nodes collection.
The state of a System.Windows.Forms.TreeNode is persisted. For example, if the next level of child nodes was not collapsed previously, when the TreeNode.Expand method is called, the child nodes appear in their previously expanded state.