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

Align image in control

1 Answer 39 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 23 Oct 2011, 12:45 AM
How do you left align and top align the image in the control?

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 26 Oct 2011, 04:20 PM
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.

Greetings,
Iva Toteva
the Telerik team

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

Tags
ImageEditor
Asked by
Jon
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or