How do you apply a ValueConverter to a convention-based Caliburn.Micro binding?
问题 How do you apply a ValueConverter to a convention-based Caliburn.Micro binding? or do you need to use the {Binding} syntax? I know I could do this <TextBlock Text="{Binding Foo, Converter=fooToBarConverter}" /> but how do I apply that custom converter if I am using Caliburn.Micro's convention over configuration, like <TextBlock x:Name="Foo" /> Thanks, 回答1: You need to replace the ConventionManager.ApplyValueConverter func. By default it only does athe bool => Visibility conversion. Also, you