Ejemplo n.º 1
0
		/// <summary>
		/// Adds the elements of another GridRangeCollection to the end of this GridRangeCollection.
		/// </summary>
		/// <param name="items">
		/// The GridRangeCollection whose elements are to be added to the end of this GridRangeCollection.
		/// </param>
		public virtual void AddRange(GridRangeCollection items)
		{
			foreach (Range item in items)
			{
				this.List.Add(item);
			}
		}
Ejemplo n.º 2
0
			public Enumerator(GridRangeCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
Ejemplo n.º 3
0
		/// <summary>
		/// Initializes a new instance of the GridRangeCollection class, containing elements
		/// copied from another instance of GridRangeCollection
		/// </summary>
		/// <param name="items">
		/// The GridRangeCollection whose elements are to be added to the new GridRangeCollection.
		/// </param>
		public GridRangeCollection(GridRangeCollection items)
		{
			this.AddRange(items);
		}