There is a MultiBinding
that returns an instance of a class, how to access its field? Path="ObjectLink"
does not work, because Path
in MultiBinding
missing
<TextBlock Foreground="Red"> <TextBlock.Style> <Style TargetType="{x:Type TextBlock}"> <Setter Property="Text"> <Setter.Value> <MultiBinding Path="ObjectLink" Converter="{StaticResource ResourceKey=m_GetObjectPropertyConverter}" StringFormat=' ({0})'> <Binding/> <Binding Source="{x:Static DataViewModels:PropertysViewModel.TypeSS}"/> </MultiBinding> </Setter.Value> </Setter> </Style> </TextBlock.Style> </TextBlock>
PS: m_GetObjectPropertyConverter
converter returns an instance of the class