Thursday, August 14, 2014

WPF - Passing string to ConverterParameter

<sys:String x:Key="mystring">The time of the day is </sys:String>

<TextBlock Text="{Binding Source={x:Static sys:DateTime.Now}, Converter={StaticResource custConverter},ConverterParameter={StaticResource mystring}}" />

No comments:

Post a Comment