473,396 Members | 2,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to create WPF Custom routedevent in VB ?

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
2 3006
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pon | last post by:
Hi everybody, I posted that on the Avalon ng but it seems there is not so muche wpf developper which use VB. Is there more VB developper which work with WPF ? I'm trying to do a very simple...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
0
by: =?Utf-8?B?YV93YWhvbw==?= | last post by:
I am developing a diagramming project within C# using WPF. I based the visual representation off a tutorial from CodeProject <a...
3
by: =?Utf-8?B?YXdhaG9v?= | last post by:
Please forgive the re-post. I did not have a no-spam alias defined the first time I tried and that kept this message from appearing in the database. I am developing a diagramming project within...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.