Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Using Attached DP in xaml file in a VB project doesn't work

 
 
Old 12-02-2006   #1 (permalink)
Pon


 
 

Using Attached DP in xaml file in a VB project doesn't work

Hello,

I have no problem to declare and use an attached property of a custom
control in C#. But i can't get it work in VB. Could someone from MS confirm
that ?

More generally, it seems that VB is far from being as WPF compliant as C#
is. Right ?
If it is, can we hope that could change and when ?

Thank you.




My System SpecsSystem Spec
Old 12-11-2006   #2 (permalink)
Pon


 
 

Re: Using Attached DP in xaml file in a VB project doesn't work

Nobody ?


"Pon" <pongla.public@laposte.net> wrote in message
news:OrddeYlFHHA.4844@TK2MSFTNGP03.phx.gbl...
> Hello,
>
> I have no problem to declare and use an attached property of a custom
> control in C#. But i can't get it work in VB. Could someone from MS
> confirm that ?
>
> More generally, it seems that VB is far from being as WPF compliant as C#
> is. Right ?
> If it is, can we hope that could change and when ?
>
> Thank you.
>
>
>



My System SpecsSystem Spec
Old 12-18-2006   #3 (permalink)
Wolf Schmidt [MSFT]


 
 

Re: Using Attached DP in xaml file in a VB project doesn't work

Could you share out your control code somewhere, or tack it on as text if
it's simple enough?

Alternatively, try posting over on Forums instead, and attaching your
control code.

There isn't anything native to VB.NET that should prevent your attached
properties from working, but it's possible that there is something that has a
different behavior with your own Get* and Set* accessors in C# vs VB. Since
the parameter typing is so open, there might be something I am not thinking
of that's particular to your implementation.

"Pon" wrote:

> Nobody ?
>
>
> "Pon" <pongla.public@laposte.net> wrote in message
> news:OrddeYlFHHA.4844@TK2MSFTNGP03.phx.gbl...
> > Hello,
> >
> > I have no problem to declare and use an attached property of a custom
> > control in C#. But i can't get it work in VB. Could someone from MS
> > confirm that ?
> >
> > More generally, it seems that VB is far from being as WPF compliant as C#
> > is. Right ?
> > If it is, can we hope that could change and when ?
> >
> > Thank you.
> >
> >
> >

>
>
>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Is it possible to include XAML files into another XAML file? .NET General
USB attached devices do not work with windows Vista Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46