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