At the start of my xaml page I define converters like this:
<Grid>
<Grid.Resources>
<l:MyMagicConverter x:Key="magicConverter"/>
</Grid.Resources>
Is there a way to add some parameter for the converter to this definition? Like a DependencyProperty, or maybe something simpler? Something like this:
<l:MyMagicConverter x:Key="magicConverter" MyParameter="{Binding MyValue}"/>
I'm aware of the converterparameter when using it, but I'd like to add something in the definition, too.