Initialize RadImageEditorUI with FileSystem Image in WPF

In this post, we would see how to open an image file from file system in WPF. The RadImageEditorUI has Open command, which would open the selected file from file system.

There might be requirement where, the RadImageEditorUI needs to open the image when passed as argument. The following image shows that output of this demonstration.

In this example, we are taking the RadImageEditorUI control in the Window.


The overloaded constructor has the path of the image file. You can see that, IImageFormatProvider object is used to import the image which is a stream object.

Also we have disabled the open button in RadImageEditorUI control.


The output shows that, the RadImageEditorUI control is initialized with the file system image file.


Hope this post is useful.

Like Method Of Tried in Facebook.