Skip to content

[Repeater] Wire IndexBasedLayoutOrientation into StackLayout, FlowLayout, UniformGridLayout #22903

Closed

Description

@MartinZikmund

Scope

Call SetIndexBasedLayoutOrientation() from constructors and OnPropertyChanged handlers of the three existing virtualizing layouts so that Layout.IndexBasedLayoutOrientation reflects each layout's natural orientation.

WinUI sources to port (deltas)

  • StackLayout.cpp — constructor + OnPropertyChanged calls SetIndexBasedLayoutOrientation(TopToBottom) / LeftToRight
  • FlowLayout.cpp — same pattern
  • UniformGridLayout.cpp — same pattern

Uno files to modify

  • src/Uno.UI/UI/Xaml/Controls/Repeater/StackLayout.cs
  • src/Uno.UI/UI/Xaml/Controls/Repeater/FlowLayout.cs
  • src/Uno.UI/UI/Xaml/Controls/Repeater/UniformGridLayout/UniformGridLayout.cs

API tests to port

  • FlowLayoutTests.cs delta — tests verifying IndexBasedLayoutOrientation is set correctly after layout construction or orientation property changes

Porting rules

All work must follow .github/agents/winui-porting-agent.md and the /winui-port skill.

Dependencies

Requires #22901 (SetIndexBasedLayoutOrientation on Layout base).

Risk / Complexity

🟢 Low risk · Small — sets a property that nothing reads until LinedFlowLayout and ItemsView consume it

Activity

  1. changed the title [-]feat: [Repeater] Wire IndexBasedLayoutOrientation into StackLayout, FlowLayout, UniformGridLayout[/-] [+][Repeater] Wire IndexBasedLayoutOrientation into StackLayout, FlowLayout, UniformGridLayout[/+] on Mar 27, 2026
  2. github-actions commented on May 4, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  3. locked as resolved and limited conversation to collaborators on May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions