Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

[Feature] Events when manipulating the image cropper #4529

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

Closed
knightmeister opened this issue Apr 10, 2022 · 2 comments
Closed

[Feature] Events when manipulating the image cropper #4529

knightmeister opened this issue Apr 10, 2022 · 2 comments
Labels
controls 🎛️ feature request 📬 A request for new changes to improve functionality

Comments

@knightmeister
Copy link

knightmeister commented Apr 10, 2022

Describe the problem

At the moment, from what I see from a quick read of the source and a thorough read of the documentation, no events are raised when the cropped area is manipulated.

This works fine for simple scenarios, but for a more complex user interface there would ideally be a mechanism to update the Rect against a view model or receive an event when the crop area is manipulated (moved, resized, etc).

Describe the solution

I can live without MVVM bindings, but at a minimum there really needs to be an event raised when the crop rect is manipulated.

Alternatives

I've hacked around this for now by binding to PointerReleased and updating the crop area in my view model. This is a hack though and it's also possible to adjust the crop area with the keyboard.

Additional info

I'm targeting WinUI 3.

Help us help you

No response

@knightmeister knightmeister added the feature request 📬 A request for new changes to improve functionality label Apr 10, 2022
@ghost
Copy link

ghost commented Apr 10, 2022

Hello, 'knightmeister! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!

@michael-hawker
Copy link
Member

Related/Duplicate of #3163

@CommunityToolkit CommunityToolkit locked and limited conversation to collaborators Jul 28, 2022
@LalithaNadimpalli LalithaNadimpalli converted this issue into discussion #4618 Jul 28, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
controls 🎛️ feature request 📬 A request for new changes to improve functionality
Projects
None yet
Development

No branches or pull requests

2 participants