DLToolkit.Forms.Controls
DLToolkit.Forms.Controls copied to clipboard
can't move image to the desired crop area
i set the ImageCropView size to be 16:9
width = screenWidth height =screenWidth*(16/9)
but i cant move the image up. the image is not freely moving inside the cropping area.
thanks in advanced.
<imgcrop:ImageCropView Grid.Row="0" HeightRequest="{Binding ImageHeight}" WidthRequest="{Binding ImageWidth}" x:Name="cropView" Source="{Binding SourceImage}" Aspect="AspectFill" > <imgcrop:ImageCropView.PreviewTransformations> <fftransformations:CropTransformation /> </imgcrop:ImageCropView.PreviewTransformations> </imgcrop:ImageCropView>
solved!! i just have to set CropHeightRatio,CropWidthRatio in CropTransformation