By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

How to create WPF Custom routedevent in VB ?

P: n/a
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.
Nov 16 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Did you manage to get this working in VB? I am stuck on the same problem.
--
Eli
"Pon" wrote:
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.
Feb 6 '07 #2

P: n/a
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.
---------------------------------------------------------
"Eli" <el*@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
Did you manage to get this working in VB? I am stuck on the same problem.
--
Eli
"Pon" wrote:
>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.


Feb 6 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.