Multibinding Which Control?

williamcampbell
williamcampbell used Ask the Experts™
on
I have a MultiBinding in my WPF XAML  similar to this...

<Multibinding Converter="{StaticResource myConverter}">
  <Binding ElementName="Control1" Path=Value>
  <Binding ElementName= Control2" Path=Value>
 < Binding ElementName= Control3" Path=Value>

In my IMultiConverter I would like to Know which Control set which value ?

The Converter Code has a function

public object Convert ( object[]values ,.....

Anyway to find out that value[0] was set by Control1 etc?

Thanks

wc

P.S.

Could I use OnDataContextChanged or OnPropertyChanged?  Or is there a way to grab the MultiBinding Data from the XAML ?




Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You should be able to collect the data you're seeking by using the ConverterParameter property, see the link below:
http://www.hardcodet.net/category/net/wpf/wpf-controls/wpf-treeview 
I have found a solution to this that has not been presented anywhere before. I will create an Article explaing how it works.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial