2007-03-12 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / DataGridViewCellCollection.cs
index 0e696eecde7dbb2b318abce71221fee4b15e7f4f..62b6c696efc28e81e1f7f181c3b79d5909017e2f 100644 (file)
@@ -31,7 +31,7 @@ using System.Collections;
 
 namespace System.Windows.Forms {
 
-
+       [ListBindable (false)]
        public class DataGridViewCellCollection : BaseCollection, IList, ICollection, IEnumerable {
 
                private DataGridViewRow dataGridViewRow;
@@ -40,7 +40,7 @@ namespace System.Windows.Forms {
                        this.dataGridViewRow = dataGridViewRow;
                }
 
-               public bool IsFixedSize {
+               bool IList.IsFixedSize {
                        get { return base.List.IsFixedSize; }
                }
 
@@ -90,6 +90,7 @@ namespace System.Windows.Forms {
                        return result;
                }
 
+               [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
                public virtual void AddRange (params DataGridViewCell[] dataGridViewCells) {
                        foreach (DataGridViewCell cell in dataGridViewCells) {
                                this.Add(cell);