Fire a click event in Silverlight

F

fiaolle

Hi

In C# you can fire a click event with Button.PerformClick. How to I
accomplish the same thing in Silverlight?

Thanks
Fia
 
C

Chris

Hi

In C# you can fire a click event with Button.PerformClick. How to I
accomplish the same thing in Silverlight?

Thanks
Fia

Instead of calling .PerformClick, create a method with the desired
functionality and call that method from both places.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top