Skip to content

Commit 3523c17

Browse files
Update WrapPanel docs to clarify StretchChild behavior
1 parent 7bacc98 commit 3523c17

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

components/Primitives/samples/WrapPanel.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Spacing can be automatically added between items using the HorizontalSpacing and
2020

2121
When the Orientation is Vertical, HorizontalSpacing adds uniform spacing between each column of items, and VerticalSpacing adds uniform vertical spacing between individual items.
2222

23+
> [!NOTE]
24+
> When `StretchChild="Last"` is set, the last child will only stretch if the available measure size is finite. If the panel is measured with an infinite width (for horizontal orientation) or infinite height (for vertical orientation), the last child will not stretch.
25+
2326
> [!SAMPLE WrapPanelSample]
2427
2528
## Examples

0 commit comments

Comments
 (0)