New here but really need some help.
I have designed a GUI in Photoshop and saved this as a PSD file.
All the buttons in it are seperate PNG files and text.
The GUI has to be made in Expression Blend so that a friend of mine (C programmer) can connect the GUI to the software.
The Problem:
I just don’t understand how to make the functionality of these buttons from the PNG files.
for a WPF expert its very simple but for me its pretty horrible.
Is there someone who can help me with this. I have now searched 3 days on the net for a solution but haven’t got any success with it so far.
2
Answers
I think you’re just asking about how to do a simple ‘image in a button’ – you don’t need blend for that just yet:
Right-click on MyButtonClick and choose Navigate to Event Handler and it will create the code-behind for your developer to use.
Get the Adam Nathan book for WPF and you’ll be up to tasks like this in no time.
Here is how to create a button from an image in WPF using Expression Blend:
There you go – a quick and easy image button. For multiple buttons, you will need individual user control names. If you want to spend more time setting up a button you can templatize, watch my Silverlight tutorial: http://mattwilsonmd.blogspot.com/2009/06/silverligth-tutorial-image-button-w.html (You can skip to the end for the simple summary).