dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersTony John
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » WPF »

Handling Click event of DataGridHyperlinkColumn Programatically


Posted Date: 18 Nov 2009      Posted By:: Abhijeet Kumar     Member Level: Gold    Member Rank: 0     Points: 1   Responses: 1



How to handle click event of DataGridHyperlinkColumn programatically through code(in .xaml.cs file).



Responses

#445157    Author: Pandu (srini)      Member Level: Gold      Member Rank: 465     Date: 20/Nov/2009   Rating: 2 out of 52 out of 5     Points: 2

HI

u can use this

<dg:DataGridHyperlinkColumn.ElementStyle>
<Style TargetType="TextBlock">
<EventSetter Event="Hyperlink.Click" Handler="OnHyperlinkClick" />
</Style>
</dg:DataGridHyperlinkColumn.ElementStyle>
</dg:DataGridHyperlinkColumn>

Happy coding

Thanks & Regards
Srinivas Kanteti
Dot Net Programmer



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Adding Button Column in DataGrid Programatically
Previous : How to get "Tag" Properyt value in combobox in wpf
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.