1 write to _realCollection
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2151
public DesignerTableLayoutControlCollection(TableLayoutPanel owner) : base(owner) =>
_realCollection
= owner.Controls;
23 references to _realCollection
System.Windows.Forms.Design (23)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (23)
2153
public override int Count =>
_realCollection
.Count;
2161
public new bool IsReadOnly =>
_realCollection
.IsReadOnly;
2163
int IList.Add(object control) => ((IList)
_realCollection
).Add(control);
2165
public override void Add(Control c) =>
_realCollection
.Add(c);
2167
public override void AddRange(Control[] controls) =>
_realCollection
.AddRange(controls);
2169
bool IList.Contains(object control) => ((IList)
_realCollection
).Contains(control);
2171
public new void CopyTo(Array dest, int index) =>
_realCollection
.CopyTo(dest, index);
2173
public override bool Equals(object other) =>
_realCollection
.Equals(other);
2175
public new IEnumerator GetEnumerator() =>
_realCollection
.GetEnumerator();
2177
public override int GetHashCode() =>
_realCollection
.GetHashCode();
2179
int IList.IndexOf(object control) => ((IList)
_realCollection
).IndexOf(control);
2181
void IList.Insert(int index, object value) => ((IList)
_realCollection
).Insert(index, value);
2183
void IList.Remove(object control) => ((IList)
_realCollection
).Remove(control);
2185
void IList.RemoveAt(int index) => ((IList)
_realCollection
).RemoveAt(index);
2191
return ((IList)
_realCollection
)[index];
2199
public override void Add(Control control, int column, int row) =>
_realCollection
.Add(control, column, row);
2201
public override int GetChildIndex(Control child, bool throwException) =>
_realCollection
.GetChildIndex(child, throwException);
2203
public override void SetChildIndex(Control child, int newIndex) =>
_realCollection
.SetChildIndex(child, newIndex);
2208
for (int i =
_realCollection
.Count - 1; i >= 0; i--)
2210
if (
_realCollection
[i] is not null &&
2211
_realCollection
[i].Site is not null &&
2212
TypeDescriptor.GetAttributes(
_realCollection
[i]).Contains(InheritanceAttribute.NotInherited))
2214
_realCollection
.RemoveAt(i);