I have an ImageEditor in an sfRibbon. When I programmatically activate the cropping tool, and then (without finishing the cropping) click on "file" on the ribbon, the app crashes:
System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: height
at Windows.Foundation.Rect..ctor(Double x, Double y, Double width, Double height)
at Syncfusion.UI.Xaml.ImageEditor.CroppingPanel.MeasureOverride(Size availableSize)
To reproduce the error, start the uploaded code and click "Facebook post". Then click on "file".
Is there a solution to this?
I tried to programatically close the cropping tool - that does not seem possible.
Thanks in advance.
The Syncfusion team was always very helpful.
Attachment:
ImageEditor_e4084373.zip