ZForge.Controls.TreeViewAdv.Tree.TreeModelEventArgs.TreeModelEventArgs C# (CSharp) Méthode

TreeModelEventArgs() public méthode

public TreeModelEventArgs ( TreePath parent, int indices, object children ) : System
parent TreePath Path to a parent node
indices int Indices of children in parent nodes collection
children object Child nodes
Résultat System
        public TreeModelEventArgs(TreePath parent, int[] indices, object[] children)
            : base(parent)
        {
            if (children == null)
                throw new ArgumentNullException();

            if (indices != null && indices.Length != children.Length)
                throw new ArgumentException("indices and children arrays must have the same length");

            _indices = indices;
            _children = children;
        }

Same methods

TreeModelEventArgs::TreeModelEventArgs ( TreePath parent, object children ) : System
TreeModelEventArgs