From 8759c37b9bc54d2abc41d765026b56449c4bb1b0 Mon Sep 17 00:00:00 2001 From: David Britch Date: Mon, 4 Mar 2024 13:59:08 +0000 Subject: [PATCH] Fix xrefs (#2107) --- docs/user-interface/layouts/custom.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-interface/layouts/custom.md b/docs/user-interface/layouts/custom.md index e2a104da..449c097a 100644 --- a/docs/user-interface/layouts/custom.md +++ b/docs/user-interface/layouts/custom.md @@ -224,7 +224,7 @@ public override Size Measure(double widthConstraint, double heightConstraint) The `Measure` method enumerates through all of the visible children in the layout, invoking the method on each child. It then returns the total size of the layout, taking into account the constraints and the values of the and properties. The method is called to ensure that the total size of the layout fits within its constraints. > [!IMPORTANT] -> When enumerating children in the implementation, skip any child whose property is set to . This ensures that the custom layout won't leave space for invisible children. +> When enumerating children in the implementation, skip any child whose property is set to . This ensures that the custom layout won't leave space for invisible children. #### Arrange children in the layout @@ -284,7 +284,7 @@ public override Size ArrangeChildren(Rect bounds) The `ArrangeChildren` method enumerates through all the visible children in the layout to size and position them within the layout. It does this by invoking on each child with appropriate bounds, that take into account the and of the underlying layout. It then returns the actual size of the layout. The method is called to ensure that the size takes into account whether the the layout has its and properties set to . > [!IMPORTANT] -> When enumerating children in the implementation, skip any child whose property is set to . This ensures that the custom layout won't leave space for invisible children. +> When enumerating children in the implementation, skip any child whose property is set to . This ensures that the custom layout won't leave space for invisible children. ### Consume the layout type