C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » WPF »

How to create MouseDown event in WPF


Posted Date: 04 Nov 2009      Posted By: Ramesh N D      Member Level: Gold     Points: 1   Responses: 4



How to create MouseDown event in WPF ?..

<Button Height="23" HorizontalAlignment="Left" Margin="310,0,0,17" Name="button3" VerticalAlignment="Bottom" Width="26" Click="button3_Click" MouseDown="button8_MouseDown">


Its not working....

Regards
Ramesh.N.D





Responses

Author: K Hari Prasad    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

generate the event handlers from the xaml code.


Author: Ramesh N D    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hi Hari Prasad

How to generate the event handlers from the xaml code.


Regards
Ramesh.N.D



Author: K Hari Prasad    04 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

<Button Click=....>

after =, you will be getting NewEventHandler, click on that.



Author: ABitSmart    04 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Just right click on the event handler name and there will be a menu popup asking you to generate a new event handler.

Kind regards,
ABitSmart
DNS Web-master, DNS MVM
My blog
Thoughts.exe



Post Reply
You must Sign In to post a response.
Next : Adding style or template to my buttom.
Previous : How to find the Checkbox Control in WPF DataGrid Control in WPF using C#
Return to Discussion Forum
Post New Message
Category: WPF

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use