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

Add RelativePanel control #112

Open
dotMorten opened this issue Dec 6, 2018 · 3 comments
Open

Add RelativePanel control #112

dotMorten opened this issue Dec 6, 2018 · 3 comments
Labels
Enhancement Requested Product code improvement that does NOT require public API changes/additions
Milestone

Comments

@dotMorten
Copy link
Contributor

dotMorten commented Dec 6, 2018

I'd like to propose porting UWP's RelativePanel control to WPF. It's a great way to layout UI, while reducing the number of panels needed to create in order to perform such a layout. A panel like this could also form the basis for porting Adaptive Triggers down the line (as these two go really well hand-in-hand).

I have an implementation of it here that I'd be happy to contribute back to WPF:
/~https://github.com/dotMorten/UniversalWPF/tree/master/src/UniversalWPF.RelativePanel

I'm also hoping that the Windows UI Xaml project will soon share UWP's RelativePanel implementation, to ensure 100% consistency in behavior (AFAIK my implementation matches in behavior, but knowing that there are a lot of edge cases, I probably don't handle them all).

@amit-kabra amit-kabra added the Enhancement Requested Product code improvement that does NOT require public API changes/additions label Dec 6, 2018
@rladuca rladuca added this to the Future milestone Dec 7, 2018
@dotMorten
Copy link
Contributor Author

With WinUI 3 source code finally available, I was able to port this control to WPF and verify it works exactly as the UWP/WinUI one. I'm more than happy to contribute it to this repro if you're interested.

@miloush
Copy link
Contributor

miloush commented Oct 25, 2023

It sounds like you are in a good position to make an API proposal!

@SlimeNull
Copy link

I've re-ported RelativePanel to WPF, and made some changes related to testing and performance improvements.

But I don't know how to submit code to WPF. Here is my ported RelativePanel, can anyone help me?

/~https://github.com/OrgEleCho/EleCho.WpfSuite/blob/master/EleCho.WpfSuite/Panels/RelativePanel.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Requested Product code improvement that does NOT require public API changes/additions
Projects
None yet
Development

No branches or pull requests

5 participants