Passing the current index to an IValueConverter as a ConverterParameter

njsokalski

Well-known member
Joined
Mar 16, 2011
Messages
102
Programming Experience
5-10
I have an IValueConverter in which I need the index of the current DataTemplate. I am using an ItemsControl, and the ItemsSource is a List(Of Single). How can I access the current index from inside the IValueConverter or pass it as a ConverterParameter? Thanks.
 
Top Bottom