Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Add FrameworkElement.LayoutTransform #546

Open
2 tasks
michael-hawker opened this issue Apr 11, 2019 · 1 comment
Open
2 tasks

Proposal: Add FrameworkElement.LayoutTransform #546

michael-hawker opened this issue Apr 11, 2019 · 1 comment
Assignees
Labels
feature proposal New feature proposal team-Controls Issue for the Controls team wct wpf-vs-winui-mismatch

Comments

@michael-hawker
Copy link
Collaborator

michael-hawker commented Apr 11, 2019

Proposal: Add FrameworkElement.LayoutTransform

Summary

LayoutTransform is missing from FrameworkElement. This makes it harder to port WPF code and perform some advanced transforms which need to impact layout to work. This is also needed for future Expander (#3492) improvements.

Rationale

LayoutTransform was available in WPF and provided a useful way for transforming elements in ways that effect layout. This is useful for certain controls like Expanders or if rotating rectangular elements.

While there is a stop-gap in the WCT it is a wrapper and not part of the element like the original in WPF. It also isn't a perfect re-implementation because of this inversion. It'd be better if it was built-in to part of the framework like RenderTransform.

Functional Requirements

  • Forwards compatible with WPF
  • Supports Expander scenarios
@michael-hawker michael-hawker added the feature proposal New feature proposal label Apr 11, 2019
@msft-github-bot msft-github-bot added this to New proposal in Feature tracking Apr 11, 2019
@msft-github-bot msft-github-bot added this to Needs triage in Controls Triage Apr 11, 2019
@jevansaks jevansaks moved this from Needs triage to Approved - Assigned in Controls Triage Apr 12, 2019
@jevansaks jevansaks moved this from Approved - Assigned to Approved in Controls Triage May 7, 2019
@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
@michael-hawker
Copy link
Collaborator Author

michael-hawker commented Dec 8, 2020

@predavid this needs the wpf tracking label too.

FYI @ejserna @chrisglein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal team-Controls Issue for the Controls team wct wpf-vs-winui-mismatch
Projects
Development

No branches or pull requests

4 participants