![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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. |
| | #2 (permalink) |
| Guest | 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. > > > |
| | #3 (permalink) |
| Guest | 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. > > > |
| | #4 (permalink) |
| Guest | 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. > > > > > > > > > |
| | #5 (permalink) |
| Guest | 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. > > > > > > > > > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to include XAML files into another XAML file? | star-italia | .NET General | 6 | 06-12-2008 04:56 AM |
| USB attached devices do not work with windows Vista | Steven Weisman | Vista General | 0 | 01-30-2007 10:53 AM |
| How to deploy an XAML-based App with its XAML-UI-File? | Solveigh | Avalon | 11 | 11-08-2006 07:50 AM |
| New XAML project in VS2005 | Verdagon@gmail.com | Avalon | 4 | 08-17-2006 06:05 AM |
| File.xaml and File.xaml.cs are atomically checked out/in from sourcesafe | Pascal Bourque | Avalon | 1 | 04-26-2006 06:47 PM |