コード例 #1
0
 /// <summary>
 ///     <para>
 ///       Adds the contents of another RadItemCollection to the end of the collection.
 ///    </para>
 /// </summary>
 /// <param name='value'>
 ///    A RadItemCollection containing the objects to add to the collection.
 /// </param>
 /// <returns>
 ///   <para>None.</para>
 /// </returns>
 public void AddRange(RadCommandBarBaseItemCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         this.Add(value[i]);
     }
 }
コード例 #2
0
 public void AddRange(RadCommandBarBaseItemCollection value)
 {
     for (int index = 0; index < value.Count; ++index)
     {
         this.Add(value[index]);
     }
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the RadElementEnumerator class.
 /// </summary>
 /// <param name="mappings"></param>
 public RadCommandBarBaseItemEnumerator(RadCommandBarBaseItemCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }
コード例 #4
0
 /// <summary>
 ///     <para>
 ///       Initializes a new instance of RadItemCollection based on another RadItemCollection.
 ///    </para>
 /// </summary>
 /// <param name='value'>
 ///       A RadItemCollection from which the contents are copied.
 /// </param>
 public RadCommandBarBaseItemCollection(RadCommandBarBaseItemCollection value)
 {
     this.AddRange(value);
 }