/// <summary>
 /// Changes the node parent.
 /// </summary>
 /// <param name="newParent">The new parent.</param>
 public void ChangeParent(CustomControls.IExtendedTreeNode newParent)
 {
     Parent = newParent;
 }
示例#2
0
 /// <summary>
 /// Removes the first occurrence of a specific object from the <see cref="ICollection{IExtendedTreeNode}"/>.
 /// </summary>
 /// <param name="item">The object to remove from the <see cref="ICollection{IExtendedTreeNode}"/>.</param>
 /// <returns>True if item was successfully removed from the <see cref="ICollection{IExtendedTreeNode}"/>; otherwise, false. This method also returns false if item is not found in the original <see cref="ICollection{IExtendedTreeNode}"/>.</returns>
 bool ICollection <CustomControls.IExtendedTreeNode> .Remove(CustomControls.IExtendedTreeNode item)
 {
     return(Remove((ISolutionTreeNode)item));
 }
示例#3
0
 /// <summary>
 /// Determines whether the <see cref="ICollection{IExtendedTreeNode}"/> contains a specific value.
 /// </summary>
 /// <param name="item">The object to locate in the <see cref="ICollection{IExtendedTreeNode}"/>.</param>
 /// <returns>True if item is found in the <see cref="ICollection{IExtendedTreeNode}"/>; otherwise, False.</returns>
 bool ICollection <CustomControls.IExtendedTreeNode> .Contains(CustomControls.IExtendedTreeNode item)
 {
     return(Contains((ISolutionTreeNode)item));
 }
示例#4
0
 /// <summary>
 /// Adds an item to the <see cref="ICollection{IExtendedTreeNode}"/>.
 /// </summary>
 /// <param name="item">The object to add to the <see cref="ICollection{IExtendedTreeNode}"/>.</param>
 void ICollection <CustomControls.IExtendedTreeNode> .Add(CustomControls.IExtendedTreeNode item)
 {
     Add((ISolutionTreeNode)item);
 }
示例#5
0
 /// <summary>
 /// Inserts an item to the <see cref="IList{IExtendedTreeNode}"/> at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which item should be inserted.</param>
 /// <param name="item">The object to insert into the <see cref="IList{IExtendedTreeNode}"/>.</param>
 void IList <CustomControls.IExtendedTreeNode> .Insert(int index, CustomControls.IExtendedTreeNode item)
 {
     Insert(index, (ISolutionTreeNode)item);
 }
示例#6
0
 /// <summary>
 /// Determines the index of a specific item in the <see cref="IList{IExtendedTreeNode}"/>.
 /// </summary>
 /// <param name="item">The object to locate in the <see cref="IList{IExtendedTreeNode}"/>.</param>
 /// <returns>The index of item if found in the list; otherwise, -1.</returns>
 int IList <CustomControls.IExtendedTreeNode> .IndexOf(CustomControls.IExtendedTreeNode item)
 {
     return(IndexOf((ISolutionTreeNode)item));
 }