1 write to _children
Microsoft.Maui.Controls (1)
LegacyLayouts\Layout.cs (1)
25
protected Layout() =>
_children
= new ElementCollection<T>(InternalChildren);
16 references to _children
Microsoft.Maui.Controls (16)
LegacyLayouts\Layout.cs (2)
30
public new IList<T> Children =>
_children
;
37
IList IBindableLayout.Children =>
_children
;
LegacyLayouts\LayoutOfT.cs (14)
11
int ICollection<IView>.Count =>
_children
.Count;
12
bool ICollection<IView>.IsReadOnly => ((ICollection<IView>)
_children
).IsReadOnly;
13
public IView this[int index] { get =>
_children
[index]; set =>
_children
[index] = (T)value; }
21
_children
.Add(view);
29
_children
.Remove(view);
38
return
_children
.IndexOf(child);
45
_children
.Insert(index, view);
51
_children
.RemoveAt(index);
56
_children
.Clear();
61
return
_children
.Contains(child);
66
_children
.CopyTo(array, arrayIndex);
71
return
_children
.GetEnumerator();
76
return
_children
.GetEnumerator();