Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone i would like to create a customised button which looks like a chat dialog shape instead of the normal rectangle . May i know how would i be able to do so?

Would be nice if someone could show me some tutorials on how it can be done using either the current VS or expression blend which most likey is the case,

Most importantly how to save the button in epxression blend and import it as a library class for visual studio silverlight for windows phone
THanks in advance!

Regards, TransformBinary


Hi guys, sry that i missed this point out, its a code generated button
Meaning i'm trying to MyButton btn = new MyButton();
instead of

Button btn = new Button();
Posted
Updated 19-Mar-12 17:05pm
v3

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 19-Mar-12 17:09pm    
Looks like a useful tutorial on the problem, my 5.
--SA
[no name] 19-Mar-12 19:48pm    
Thanks
Wonde Tadesse 19-Mar-12 22:32pm    
5+
[no name] 19-Mar-12 22:33pm    
Thanks
The one problem with the above article is that the button will not change for mouse over, pushed, etc. You will probably want to include visualstatemanager XAML to change the icon slightly when this happens. Look at http://www.primordialcode.com/blog/post/silverlight-custom-buttons-with-templates[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900