How to set default Image?

2 posts, 0 answers
  1. Gerhard
    Gerhard avatar
    5 posts
    Member since:
    Mar 2011

    Posted 09 Aug 2011 Link to this post


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

  2. Ivailo Karamanolev
    Ivailo Karamanolev avatar
    276 posts

    Posted 11 Aug 2011 Link to this post

    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,
    the Telerik team

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

Back to Top