diff options
Diffstat (limited to 'Xamarin.Forms.Core/StackLayout.cs')
-rw-r--r-- | Xamarin.Forms.Core/StackLayout.cs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Xamarin.Forms.Core/StackLayout.cs b/Xamarin.Forms.Core/StackLayout.cs index e115a23d..aa807979 100644 --- a/Xamarin.Forms.Core/StackLayout.cs +++ b/Xamarin.Forms.Core/StackLayout.cs @@ -46,9 +46,9 @@ namespace Xamarin.Forms LayoutInformation layoutInformationCopy = _layoutInformation; - for (var i = 0; i < LogicalChildren.Count; i++) + for (var i = 0; i < LogicalChildrenInternal.Count; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (child.IsVisible) LayoutChildIntoBoundingRegion(child, layoutInformationCopy.Plots[i], layoutInformationCopy.Requests[i]); } @@ -84,7 +84,7 @@ namespace Xamarin.Forms { for (var i = 0; i < layout.Plots.Length; i++) { - if (!((View)LogicalChildren[i]).IsVisible) + if (!((View)LogicalChildrenInternal[i]).IsVisible) continue; if (orientation == StackOrientation.Vertical) { @@ -131,9 +131,9 @@ namespace Xamarin.Forms if (orientation == StackOrientation.Vertical) { View expander = null; - for (var i = 0; i < LogicalChildren.Count; i++) + for (var i = 0; i < LogicalChildrenInternal.Count; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (!child.IsVisible) continue; @@ -167,9 +167,9 @@ namespace Xamarin.Forms else { View expander = null; - for (var i = 0; i < LogicalChildren.Count; i++) + for (var i = 0; i < LogicalChildrenInternal.Count; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (!child.IsVisible) continue; @@ -220,7 +220,7 @@ namespace Xamarin.Forms for (var i = 0; i < layout.Plots.Length; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (!child.IsVisible) continue; @@ -292,7 +292,7 @@ namespace Xamarin.Forms for (var i = 0; i < layout.Plots.Length; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (!child.IsVisible) continue; @@ -398,9 +398,9 @@ namespace Xamarin.Forms double spacePerExpander = extraSpace / layout.Expanders; double yOffset = 0; - for (var i = 0; i < LogicalChildren.Count; i++) + for (var i = 0; i < LogicalChildrenInternal.Count; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (!child.IsVisible) continue; Rectangle plot = layout.Plots[i]; @@ -426,9 +426,9 @@ namespace Xamarin.Forms double spacePerExpander = extraSpace / layout.Expanders; double xOffset = 0; - for (var i = 0; i < LogicalChildren.Count; i++) + for (var i = 0; i < LogicalChildrenInternal.Count; i++) { - var child = (View)LogicalChildren[i]; + var child = (View)LogicalChildrenInternal[i]; if (!child.IsVisible) continue; Rectangle plot = layout.Plots[i]; |