Open minaairsupport opened 5 years ago
GetImageAsJpegAsync is a function with parameters How to make it a bindable property ?
at least make this field binable property readonly CustomCachedImage _image; and method accessible from outside ImageCropView inside helper class
You can create class inherit from ImageCropView class and create that bindable property there
I am trying this now but your method depends on these fields I may think with something different like Command execute this method and return result
CustomCachedImage _image,
CropTransformation _crop;
public IList<ITransformation> Transformations
{
get { return (IList<ITransformation>)GetValue(TransformationsProperty); }
set { SetValue(TransformationsProperty, value); }
}
I am sure many people looking forward to call this method inside the viewmodel not code behind could you create bindable property for us do that