Beispiel #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);
			}
		}
Beispiel #2
0
			public Enumerator(GridRangeCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
Beispiel #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);
		}