Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 29 Oct 2007 13:55:34 -0000,    group: microsoft.public.windows.developer.winfx.avalon        back       


How do you retrieve the actual value displayed in a ListView/GridView after binding and converting?   
Hi!

I'm using a ListView with a GridView and I'm using all sorts of
different bindings and converters when displaying my data. My question
is: how can I retrieve the value that is actually displayed to the
user at a certain grid position (row,column)?

I'm using a DataTemplate as a cell template for my columns and in the
DataTemplate I have a binding to a property on my underlying C# object
and I also have a converter that converts the data of that property.

I can get the underlying bound object but I'm not interested in that.
I want to be able to write unit tests that tests the binding/
conversion mechanism and so I need the "end-result", the actual text
presented to the user. I tried playing around with automation but that
didn't get me anywhere.

/Martin
date: Mon, 29 Oct 2007 13:55:34 -0000   author:   Martin

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us