Is it possible to bind to a ConverterParameter in Silverlight 4.0?
For instance I would like to do something like this and bind the ConverterParameter to an object in a ViewModel for instance.
If this is not possible are there any other options?
<RadioButton
Content="{Binding Path=Mode}"
IsChecked="{Binding
Converter={StaticResource ParameterModeToBoolConverter},
ConverterParameter={Binding Path=DataContext.SelectedMode,ElementName=root}}"
/>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…