We have an odd case where a Binding
that's used as child of a MultiBinding
needs its Converter
s Convert
method to know the ultimate data type the MultiBinding
is bound to.
For a regular Binding
with a Converter
, if it's bound to the Text
property of a TextBlock
, the Convert
method will receive System.string
in its targetType
argument.
However if that same Binding
is instead added as a child of a MultiBinding
, even if that MultiBinding
is assigned to a Text
property itself, all child Binding
's Converter
's Convert
methods will receive System.object
as the targetType
argument, not System.string
. This kind of makes sense as technically their target is now the MultiBinding
, not the Text
property.
Still, I'm wondering if it can be set up so that information is passed through to the child Bindings
. I'm thinking no, but I figured if anyone would know, it would be the S.O. community.