コード例 #1
0
 /// <summary>
 /// Copies to.
 /// </summary>
 /// <param name="array">The array.</param>
 /// <param name="index">The index.</param>
 public void CopyTo(NavListItem[] array, int index)
 {
     List.CopyTo(array, index);
 }
コード例 #2
0
 /// <summary>
 /// Indexes the of.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <returns></returns>
 public int IndexOf(NavListItem item)
 {
     return List.IndexOf(item);
 }
コード例 #3
0
 /// <summary>
 /// Adds the specified tab.
 /// </summary>
 /// <param name="Tab">The tab.</param>
 public void Add(NavListItem item)
 {
     List.Add(item);
     Parent.Controls.Add(item);
 }
コード例 #4
0
 /// <summary>
 /// Determines whether [contains] [the specified tab].
 /// </summary>
 /// <param name="Tab">The tab.</param>
 /// <returns>
 ///   <c>true</c> if [contains] [the specified tab]; otherwise, <c>false</c>.
 /// </returns>
 public bool Contains(NavListItem item)
 {
     return List.Contains(item);
 }
コード例 #5
0
 /// <summary>
 /// Inserts the specified index.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <param name="item">The item.</param>
 public void Insert(int index, NavListItem item)
 {
     List.Insert(index, item);
 }
コード例 #6
0
 /// <summary>
 /// Removes the specified tab.
 /// </summary>
 /// <param name="Tab">The tab.</param>
 public void Remove(NavListItem item)
 {
     List.Remove(item);
 }
コード例 #7
0
 /// <summary>
 /// Indexes the of.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <returns></returns>
 public int IndexOf(NavListItem item)
 {
     return(List.IndexOf(item));
 }
コード例 #8
0
 /// <summary>
 /// Determines whether [contains] [the specified tab].
 /// </summary>
 /// <param name="Tab">The tab.</param>
 /// <returns>
 ///   <c>true</c> if [contains] [the specified tab]; otherwise, <c>false</c>.
 /// </returns>
 public bool Contains(NavListItem item)
 {
     return(List.Contains(item));
 }
コード例 #9
0
 /// <summary>
 /// Removes the specified tab.
 /// </summary>
 /// <param name="Tab">The tab.</param>
 public void Remove(NavListItem item)
 {
     List.Remove(item);
 }
コード例 #10
0
 /// <summary>
 /// Inserts the specified index.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <param name="item">The item.</param>
 public void Insert(int index, NavListItem item)
 {
     List.Insert(index, item);
 }
コード例 #11
0
 /// <summary>
 /// Adds the specified tab.
 /// </summary>
 /// <param name="Tab">The tab.</param>
 public void Add(NavListItem item)
 {
     List.Add(item);
     Parent.Controls.Add(item);
 }