I have created my image property in my view model and can see the correct format provider is being used and populating my RadBitmap property but the binding does not work on the RadImageEditorUI control.
string extension = Path.GetExtension(FilePath).ToLower();
Stream stream = File.OpenRead(FilePath);
IImageFormatProvider formatProvider = ImageFormatProviderManager.GetFormatProviderByExtension(extension);
if (formatProvider != null)
{
ImagePath = formatProvider.Import(stream);
}
stream.Close();
XAML:
<
telerik:RadImageEditorUI
x:Name
=
"ImageEditorUi"
Image
=
"{Binding ImagePath}"
Style
=
"{DynamicResource ImageEditorStyle1}"
>
Is binding working for this control? If so, please provide a MVVM example because the documentaiton for this has no binding examples.