does anyone know how to bind an object to another and have it's value converted prior to display? My app has a scrollbar which i have bound to an image's left property so the image is scrolled as i move the scrollbar. ok so far but now i have added some labels i wish to bind also to the scrollbar which has given me an issue. How do i databind and convert the value of the scrollbar to a percentage? or conversely can i set the scrollbar to be from 0 to 100 (%and convert the value to move the image.
Having looked into this i have found something called an IValueConvertor but am unsure of how to implement it? Also will my xaml databindings be effected by this?




and convert the value to move the image.
Reply With Quote