Now I want to convert the image viewer to sliverlight user control.
when I use this user control, e.g. The user control icon will display on ToolBar, I can drag it to MainPage.xaml.
Then called the methods.
You need add all image viewer featureson user control, and you need add methods or properties, so I can call it very easy.
e.g. Load(), Rotate(),FitToWidth(), FitToHeight(), Actual Size, Zoom in, Zoom out
The user control is a dll file, if I use the user control, I will not see the source code of user control.
I just call the methods or properties.
You need create user control and create simple sliverlight project , show me how to use this control and give me some information how to use it.
Please see attached file and see red rectangle area, I need user control display this area only.
When you created the user control, then create new sliverlight project add the user control and add load, rotate, fit to width, fit to height button, actual size,zoom slider.
e.g. In load button click event, call the [url removed, login to view](), then it will display the cfiledialog, let user select the image.