Codejock Forums Homepage
Forum Home Forum Home > General > XAML Snippets
  New Posts New Posts RSS Feed - SOLVED: MarkupContext.SetHandler method in VB.net
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: MarkupContext.SetHandler method in VB.net

 Post Reply Post Reply
Author
Message
gibrael View Drop Down
Groupie
Groupie
Avatar

Joined: 17 March 2009
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibrael Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: MarkupContext.SetHandler method in VB.net
    Posted: 19 April 2012 at 6:22am
Hi,

How would we use the Sethandler method in VB.net?

In VB6, it's simply

Dim markup as MarkupLabel
markup.MarkupContext.SetHandler Me

How do we do this in .NET?
It's always throwing an InvalidCastException.

Thanks.
--
Codejock Xtreme Suite Pro 15.2
VisualStudio 2010
Windows 7
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 19 April 2012 at 9:01am
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.