I'd like to use the ItemsSource
property from a particular element as one of the bindings in another element's MultiBinding
. Here's what I have so far:
<Label>
<Label.Content>
<MultiBinding Converter="{converters:myMultiValueConverter}">
<Binding Path="PageIndex" />
<Binding ElementName="anotherElement" Path="ItemsSource"/>
</MultiBinding>
</Label.Content>
</Label>
This works once (when the ItemsSource
is initially set), but the binding fails to update when the ObservableCollection
bound to the original element's ItemsSource
property has items added or removed. Is this kind of binding possible?