How to specify XAML value (e.g. converter parameter) culture
问题 When we use static double values in XAML, how can we specify in which format they are provided? Example: <Rectangle> <Rectangle.Opacity> <Binding Path="IsDimmed" Converter="{StaticResource boolToDoubleConverter}" ConverterParameter="0.8"/> </Rectangle.Opacity> </Rectangle> with the converter method public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return double.Parse((string)parameter, culture); } The problem is that on a