How to create WPF Custom routedevent in VB ?

P

Pon

Hi everybody,

I posted that on the Avalon ng but it seems there is not so much wpf
developpers which use VB. Is there more VB developpers which work with WPF ?

I'm trying to do a very simple thing.
I'd just want to add a custom routed event with parameters to a user control
with VB. I'd like also add common dotnet event style wrapper to it.
There're plenty of samples of that in C#, but i can't get them work in vb.

Samples, ideas ?

Thanx in advance.
 
R

RobinS

I'd like to know that, too. I posted a new thread to this group with an
example of a RoutedEvent that I got to work in C#, but not VB. In my
example, VB doesn't recognize that it is a Routed Event; it thinks it's a
Keyboard event, even though I'm accessing through a UIElement. Completely
different Intellisense than C#. If you look for the thread called "WPF in
VB / Routed Events help needed", it shows an example of the problem I'm
having.

I sent an e-mail to one of the WPF team members, and posted this in the
avalon newsgroup and the MSDN avalon forum, but so far, no luck. I posted
it on 2/4. If I get any answers, I'll post it back to my thread.

Have you seen any books for WPF in VB? I've only seen C#.

Thanks,
Robin S.
Ts'i mahnu uterna ot twan ot geifur hingts uto.
---------------------------------------------------------
 

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