Align image in control

2 posts, 0 answers
  1. Jon
    Jon avatar
    3 posts
    Member since:
    Sep 2011

    Posted 22 Oct 2011 Link to this post

    How do you left align and top align the image in the control?
  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 26 Oct 2011 Link to this post

    Hello Jon,

    You can have the image aligned top and left by overriding the template of RadImageEditorUI and setting HorizontalAlignment="Left" and VerticalAlignment="Top" to the RadImageEditor control. The default value of both properties is "Stretch".
    Please find attached a zip file of a XAML page, which contains RadImageEditorUI and its template has been modified in the way described above.

    Iva Toteva
    the Telerik team

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

Back to Top