39 references to LogicalChildrenInternal
Microsoft.Maui.Controls (39)
Cells\Cell.cs (1)
323
var children = new List<Maui.IVisualTreeElement>(
LogicalChildrenInternal
);
ContentPresenter.cs (2)
43
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
45
Element element =
LogicalChildrenInternal
[i];
Element\Element.cs (7)
183
new ReadOnlyCollection<Element>(new TemporaryWrapper(
LogicalChildrenInternal
));
186
IReadOnlyList<Element> IElementController.LogicalChildren =>
LogicalChildrenInternal
;
263
if (
LogicalChildrenInternal
== EmptyChildren)
566
=>
LogicalChildrenInternal
;
575
this.PropagateBindingContext(
LogicalChildrenInternal
, (child, bc) =>
705
IReadOnlyList<Element> children = queue.Dequeue().
LogicalChildrenInternal
;
811
IReadOnlyList<Element> children = queue.Dequeue().
LogicalChildrenInternal
;
Element\Element_StyleSheets.cs (1)
12
IEnumerable<IStyleSelectable> IStyleSelectable.Children =>
LogicalChildrenInternal
;
LegacyLayouts\AbsoluteLayout.cs (2)
72
foreach (View child in
LogicalChildrenInternal
)
99
foreach (View child in
LogicalChildrenInternal
)
LegacyLayouts\Layout.cs (8)
436
var oldBounds = new Rect[
LogicalChildrenInternal
.Count];
439
if (
LogicalChildrenInternal
[index] is VisualElement c)
465
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
467
CompressedLayout.SetHeadlessOffset((VisualElement)
LogicalChildrenInternal
[i], isHeadless ? new Point(headlessOffset.X + Bounds.X, headlessOffset.Y + Bounds.Y) : new Point());
477
Rect newBound = ((VisualElement)
LogicalChildrenInternal
[i]).Bounds;
547
IReadOnlyList<Element> children =
LogicalChildrenInternal
;
551
if (
LogicalChildrenInternal
[index] is VisualElement v && v.IsVisible && (!v.IsPlatformEnabled || !v.IsPlatformStateConsistent))
683
if (Width <= 0 || Height <= 0 || !
LogicalChildrenInternal
.Any() || !IsVisible || !IsPlatformStateConsistent || DisableLayout)
LegacyLayouts\StackLayout.cs (13)
70
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
72
var child = (View)
LogicalChildrenInternal
[i];
110
if (!((View)
LogicalChildrenInternal
[i]).IsVisible)
157
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
159
var child = (View)
LogicalChildrenInternal
[i];
193
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
195
var child = (View)
LogicalChildrenInternal
[i];
246
var child = (View)
LogicalChildrenInternal
[i];
318
var child = (View)
LogicalChildrenInternal
[i];
424
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
426
var child = (View)
LogicalChildrenInternal
[i];
452
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
454
var child = (View)
LogicalChildrenInternal
[i];
TemplatedView\TemplatedView.cs (2)
33
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
35
Element element =
LogicalChildrenInternal
[i];
TemplateUtilities.cs (1)
92
IReadOnlyList<Element> children = queue.Dequeue().
LogicalChildrenInternal
;
VisualElement\VisualElement.cs (2)
1343
for (var i = 0; i <
LogicalChildrenInternal
.Count; i++)
1345
if (
LogicalChildrenInternal
[i] is View child)