Mono.UIAutomation.Winforms.TreeNodeProvider.AreAllParentsExpanded C# (CSharp) Method

AreAllParentsExpanded() private method

private AreAllParentsExpanded ( ) : bool
return bool
		private bool AreAllParentsExpanded ()
		{
			SWF.TreeNode currentParent = node.Parent;
			while (currentParent != null) {
				if (!currentParent.IsExpanded)
					return false;
				currentParent = currentParent.Parent;
			}
			return true;
		}