This is a migrated thread and some comments may be shown as answers.

How to set default Image?

1 Answer 83 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Gerhard
Top achievements
Rank 1
Gerhard asked on 09 Aug 2011, 10:50 PM
Hi,

I need to set a image as default. Would you help me with this?
Is there also a MVVM Support?
Thanks

Regards

1 Answer, 1 is accepted

Sort by
0
Ivailo Karamanolev
Telerik team
answered on 11 Aug 2011, 03:32 PM
Hello Gerhard,

Currently, the Image property of RadImageEditor is not a dependency property so you cannot bind to it. If you need to use MVVM, then you can wrap RadImageEditor in your own custom control and expose a dependency property that is synchronised as your scenario dictates.
Setting default image can currently be done by assigning a RadBitmap (which can be instantiated in a number of ways) to the Image property of the RadImageEditor.

Kind regards,
Ivailo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
ImageEditor
Asked by
Gerhard
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
Share this question
or