Ejemplo n.º 1
0
        ///// <summary>
        ///// Gets a list of the client IDs of the nodes that are to be selected when the treeview is rendered. Guaranteed to
        ///// not be null.
        ///// </summary>
        //public List<String> NodesToCheckIdArray { get; private set; }

        #endregion

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="TreeView"/> class. The <see cref="Nodes" />
        /// property is initialized to an empty collection.
        /// </summary>
        public TreeView()
        {
            Nodes = new TreeNodeCollection(null);
            //NodesToCheckIdArray = new List<string>();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeNode"/> class. The <see cref="Nodes" /> property is initialized
 /// to an empty collection.
 /// </summary>
 public TreeNode()
 {
     _node = new JsTreeNode();
     Nodes = new TreeNodeCollection(this);
 }