Home / General / .NET, Silverlight, and other ramblings (from the UK): How to make a Button in Silverlight 1.1
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

.NET, Silverlight, and other ramblings (from the UK): How to make a Button in Silverlight 1.1

Via Chris Steen:

In my button we will change the color of the canvas in on mouse hover, and allows you to implement the click logic at the TODO.You can use this code for your own buttons.The important points are:MouseEnter - When we hover over the buttonMouseLeave - When we stop hovering over the buttonMouseLeftButtonDown - When you hold the mouse left button downMouseLeftButtonUp - When you release the mouse left button.A click is only considered a click,





Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites