ZForge.Controls.TreeViewAdv.Tree.TreeModel.IsLeaf C# (CSharp) Method

IsLeaf() public method

public IsLeaf ( TreePath treePath ) : bool
treePath TreePath
return bool
        public bool IsLeaf(TreePath treePath)
        {
            Node node = FindNode(treePath);
            if (node != null)
                return node.IsLeaf;
            else
                throw new ArgumentException("treePath");
        }