Skip to content

[Feature] Events when manipulating the image cropper #4529

Closed
@knightmeister

Description

@knightmeister

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions