By default, In SfImageEditor, ToggleCropping method allow us to enable or disable cropping region over the image. From the below sample we can see how to enable the cropping region while initially loading the SfImageEditor. We can achieve this by using ImageLoaded event.
Step 1: Create SfImageEditor sample with all necessary assemblies.
Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.
Step 2: Call the ToggleCropping method while ImageLoaded event get fired. Please refer the following code snippet.
This page will automatically be redirected to the sign-in page in 10 seconds.