You can get the context of the crop command in the following way:
CropCommandContext context =
The CropCommandContext contains the information about the coordinates of the crop adorner, which will be used if the tool is committed.
context.X and context.Y are the coordinates of the top left corner of the adorner, whereas
context.Height and context.Width keep the size of the rectangle, which shows the boundaries of the new picture if the tool is commited.
However, these properties are readonly, so you won't be able to set them. In order to fulfill your scenario, you can implement your custom CropTool that sets the aspect ratio you would like to have and restricts the resizing of the adorner if necessary. If you decide on this approach, this article
can give you a starting point.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>