tags:

views:

19

answers:

0

Hi Dudes,

I have problem in wpf binding. I had developed a custom control that implements the ItemsControl.

-->

DayViewer is another custom control. Now i want to Bind the itemsSource of my custom ItemsControl to my DataViewModel. In the DataViewModel I have a ObservableCollection in order to bind into the ItemsSource. Single item of the ObservableCollection is again another ViewModel.Everything is fine, but now i want to bind one property which is available in the ObservableCollection's each item similar to this ==> FilePath="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=FilePath}" .

I'd tried setting the Binding in many ways but could not achieve this Any help would greatly appreciated. And i want to know how many number of ways that binding can happen

Thanks a lot for the help

Ramesh R