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

Restrict Image Type

1 Answer 59 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 24 Jan 2013, 04:08 PM
I'm trying to use the Image Editor (WPF Q3 2012 WPF4.0) for the first time.  In the open and save dialog is there a way to restrict the user to just JPG files (*.jpg, *.fpeg) types.  I don't see how to do this from the documentation.

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 28 Jan 2013, 02:49 PM
Hi Bill,

In order to achieve the desired behavior, you can change the filters of the OpenFileDialog shown when clicking the open button by attaching a custom open command to it. Please find attached a project that demonstrates the approach.

Let us know if there is anything else we can assist you with.
 
All the best,
Petya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ImageEditor
Asked by
Bill
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or