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 - BUG: Using 'Converter' in nested ItemsControl

 
 
Old 02-26-2007   #1 (permalink)
Ramon de Klein


 
 

BUG: Using 'Converter' in nested ItemsControl

I think there is a bug concerning 'Converters' when using nested
bindings. The example program in this solution should print the
following output:

1:1.1
2:2.1
2.2
3:3.1
3.2
3.3

The example program iterates through two levels. I only use a
converter for the second level. The converter doesn't convert
anything, but is used to illustrate the problem. The output that I
receive looks like:

1:1.1
2:
3:

I think this is a bug in WPF. Compile and run the example program and
you'll see what is wrong. Remove the 'Converter={...}' part from the
'TextBlock' and you'll see that everything works fine. Download the
complete example on
http://forums.microsoft.com/msdn/default.aspx?siteid=1


My System SpecsSystem Spec
Old 02-26-2007   #2 (permalink)
Ramon de Klein


 
 

Re: BUG: Using 'Converter' in nested ItemsControl

The correct link for the example project is http://home.ict.nl/~ramklein/Download/ExposeBug.zip.

My System SpecsSystem Spec
 

Thread Tools



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